|
Question |
Rating |
View Answer |
|
What’s the order of call of constructors in inheritiance? |
|
View Answer |
|
Can we use different return types for methods when overridden? |
|
View Answer |
|
Which API is provided by Java for operations on set of objects? |
|
View Answer |
|
What’s meant by anonymous class? |
|
View Answer |
|
What’s the difference between comparison done by equals method and == operator? |
|
View Answer |
|
Can variables be used in Java without initialization? |
|
View Answer |
|
In java, how we can disallow serialization of variables?
|
|
View Answer |
|
How can we make copy of a java object? |
|
View Answer |
|
Why Strings in Java are called as Immutable? |
|
View Answer |
|
When the constructor of a class is invoked? |
|
View Answer |
|
How an object is serialized in java? |
|
View Answer |
|
What’s the difference between an Abstract Class and Interface in Java? |
|
View Answer |
|
What are 6 different types of operators in Java? |
|
View Answer |
|
What is ternary operator? Give an example. |
|
View Answer |
|
What is the difference between continue and break statement? |
|
View Answer |
|
What are Loops in Java? What are three types of loops? |
|
View Answer |
|
What’s the purpose of Static methods and static variables? |
|
View Answer |
|
What are the various access specifiers for Java classes? |
|
View Answer |
|
What is the difference between an Inner Class and a Sub-Class? |
|
View Answer |
|
can we write main method without static keyword in java main class, give an example |
|
View Answer |