Filter interviews by
I appeared for an interview in Dec 2024.
Polymorphism in Java allows objects of different classes to be treated as objects of a common superclass.
Polymorphism allows methods to be overridden in a subclass that is already defined in its superclass.
It enables a single interface to be used for different data types.
Examples include method overriding and method overloading.
Static member class is a nested class that belongs to the outer class, but does not have access to non-static members of the outer class.
Static member class is declared using the 'static' keyword within the outer class.
It can access static members of the outer class directly.
Static member class can be instantiated without an instance of the outer class.
Example: class Outer { static class Inner { } }
Example: Outer.Inner
Non static inner class is a class defined within another class that is not declared as static.
Non static inner class has access to instance variables and methods of the outer class.
It can be instantiated only within an instance of the outer class.
Example: public class Outer { class Inner { } }
Example: Outer outer = new Outer(); Outer.Inner inner = outer.new Inner();
Anonymous classes are inner classes without a name, used for one-time implementation of interfaces or classes.
Anonymous class can be used to implement interfaces or extend classes on the fly.
They are defined and instantiated at the same time.
Syntax: new InterfaceName() { // implementation }
Example: Runnable r = new Runnable() { public void run() { // implementation } };
posted on 14 May 2022
I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.
I applied via Walk-in and was interviewed before Apr 2020. There were 5 interview rounds.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2020. There were 5 interview rounds.
I applied via Campus Placement and was interviewed before Jan 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I applied via Walk-in and was interviewed before May 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
based on 1 interview
Interview experience
based on 7 reviews
Rating in categories
Software Engineer
13
salaries
| ₹5 L/yr - ₹7.2 L/yr |
Associate Software Engineer
11
salaries
| ₹3.6 L/yr - ₹7.2 L/yr |
QA Engineer
6
salaries
| ₹4.5 L/yr - ₹6.6 L/yr |
Senior Software Engineer
5
salaries
| ₹9.1 L/yr - ₹10 L/yr |
QA Lead
4
salaries
| ₹11.5 L/yr - ₹18.2 L/yr |
Infosys
TCS
Wipro
HCLTech