Filter interviews by
Just basics questions. aptitude. time management is important. its easy to clear it
Constructors are special methods used to initialize objects in a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { //constructor code here } }
OOPS concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation - binding data and functions together
Inheritance - creating new classes from existing ones
Polymorphism - ability to take multiple forms
Abstraction - hiding implementation details
Example: A car is an object that encapsulates data such as speed and functions such as accelerate and brake.
Example: Inheritance allows a sports car class...
Top trending discussions
posted on 29 Nov 2024
60 mins. General quant and mathematics
Case given on the company issue
Senior Software Engineer
15
salaries
| ₹7.1 L/yr - ₹25.5 L/yr |
Software Engineer
10
salaries
| ₹3.5 L/yr - ₹6.8 L/yr |
Software Developer
7
salaries
| ₹5.5 L/yr - ₹10.4 L/yr |
Module Lead
6
salaries
| ₹10 L/yr - ₹14.2 L/yr |
Project Lead
6
salaries
| ₹16 L/yr - ₹22 L/yr |
TCS
Infosys
Wipro
HCLTech