Filter interviews by
I applied via Referral and was interviewed in May 2024. There was 1 interview round.
Java does not support multiple inheritance to avoid the diamond problem and maintain simplicity.
Java supports single inheritance to avoid ambiguity and complexity.
Multiple inheritance can lead to the diamond problem where a class inherits from two classes that have a common ancestor.
To resolve the diamond problem, Java uses interfaces which allow multiple inheritance of behavior but not state.
posted on 18 Sep 2024
I applied via Job Portal and was interviewed in Mar 2024. There were 2 interview rounds.
posted on 3 May 2019
I was interviewed in Sep 2018.
posted on 17 Nov 2017
A class is a blueprint for creating objects in object-oriented programming.
A class defines the properties and behaviors that an object will have.
It serves as a template for creating multiple instances of objects.
Objects are instances of a class, and they can have their own unique values for the properties defined in the class.
Methods defined in a class can be used to perform actions or manipulate the object's data.
In m...
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows for code reuse and promotes modularity.
The class that is being inherited from is called the superclass or base class.
The class that inherits from the superclass is called the subclass or derived class.
The subclass can access the public and protected members of the superclass.
Inhe...
Encapsulation is the process of hiding implementation details and exposing only necessary information.
Encapsulation is a fundamental concept in object-oriented programming.
It helps in achieving data abstraction and information hiding.
It allows for better control over the data and prevents unauthorized access.
Examples include access modifiers like public, private, and protected in Java.
Encapsulation also helps in reduci
Loops are used to execute a block of code repeatedly. PHP has four types of loops: for, while, do-while, and foreach.
Loops help in automating repetitive tasks.
For loop is used when the number of iterations is known.
While loop is used when the number of iterations is unknown.
Do-while loop is similar to while loop, but it executes the code block at least once.
Foreach loop is used to iterate over arrays or objects.
based on 1 interview
Interview experience
Software Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Accenture
Wipro
Cognizant