How do you reverse a list?
What do you understand by java?
Why do we need singleton class?
Why is inheritance used in java?
What are assertions in java?
7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?
What are the restrictions imposed on method overriding?
What is a singleton factory?
What is the static field modifier?
Can we inherit inner class?
What is the purpose of object oriented programming?
What is reflexive association?
What is the difference between preemptive scheduling and time slicing?