Answer Posted / jadhavpnilesh
I read all the answers and same I explained in my recent
interview. She asked me instead of inheriting the class i
will create object of class and call methods of that class
is it not reuse of code ? What she was expecting exactly,
can anyone help ?
| Is This Answer Correct ? | 16 Yes | 8 No |
Post New Answer View All Answers
Is nullpointerexception checked or unchecked?
Can you give names of Container classes?
Why is serialization required?
What is the importance of static variable?
How is hashcode calculated in java?
What are the two types of java programming?
What is return code?
How many types of memory areas are allocated by JVM in java?
what is use of functional interface in java 8?
Java Compiler is stored in JDK, JRE or JVM?
What does pointer mean?
Explain the selection sort algorithm and state its time complexity?
What is the difference between the prefix and postfix forms of the ++ operator?
what do you understand by the term string with respect to java?
What is the benefit of abstract class?