Describe the various concepts related to object oriented programming (oop).
What are examples of modifiers?
how to make hashmap object as synchronized object?
What is covariant return type?
Explain working of call by reference function invoking.
Can we declare register variable as global?
What is size () in java?
What is user defined exception in Java?
When should we create our own custom exception classes?
What is set in java?
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
why Java does not support multiple inheritances?
How does access modifiers work?