Premium Employer

Dayforce

4.6
based on 20 Reviews
Filter interviews by

Shri Vile Parle Kelavani Mandal Interview Questions and Answers

Updated 28 Aug 2024

Q1. What is OOPs concept in java?

Ans.

OOPs concept in Java stands for Object-Oriented Programming, which focuses on creating objects that interact with each other.

  • OOPs concept involves the use of classes and objects

  • Encapsulation, Inheritance, Polymorphism, and Abstraction are key principles of OOPs

  • Example: Creating a class 'Car' with properties like 'make', 'model', and methods like 'startEngine', 'drive'

Add your answer

Q2. What is Main method in java?

Ans.

Main method in Java is the entry point for any Java program. It is the method where the program starts execution.

  • Main method must be declared as public, static, and void.

  • It must accept an array of strings as an argument.

  • It is the method where the program starts execution.

  • Example: public static void main(String[] args) { }

Add your answer

Q3. what is singleton

Ans.

A singleton is a design pattern that restricts the instantiation of a class to one object.

  • Singleton pattern ensures that a class has only one instance and provides a global point of access to it.

  • Commonly used in scenarios where only a single instance of a class is needed, such as database connections or logging.

  • Implemented by creating a static method in the class that returns the same instance every time it is called.

Add your answer

Q4. what is cross join

Ans.

Cross join is a type of join operation in SQL that returns the Cartesian product of two tables.

  • Cross join combines each row from the first table with every row from the second table.

  • It does not require any matching condition like other types of joins.

  • Cross join can result in a large number of rows if the tables being joined have many rows.

  • Example: SELECT * FROM table1 CROSS JOIN table2;

Add your answer
Discover Shri Vile Parle Kelavani Mandal interview dos and don'ts from real experiences

Q5. differences of var and let

Ans.

var is function scoped, let is block scoped in JavaScript

  • var is function scoped, let is block scoped

  • var can be redeclared, let cannot be redeclared

  • let is recommended for variable declaration in modern JavaScript

Add your answer

Q6. diffrences of class and struct

Ans.

Classes are reference types with inheritance and access specifiers, while structs are value types with no inheritance and public access by default.

  • Classes are reference types, while structs are value types

  • Classes support inheritance, while structs do not

  • Classes have access specifiers like public, private, protected, while structs are public by default

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Shri Vile Parle Kelavani Mandal

based on 2 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.9
 • 96 Interview Questions
3.5
 • 60 Interview Questions
4.3
 • 50 Interview Questions
4.0
 • 13 Interview Questions
3.6
 • 12 Interview Questions
3.8
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter