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
What is the string function?
Is empty string in java?
How do you define a parameter?
How does the java compiler work?
Explain the meaning of java applet.
What is use of super keyword in java?
Why synchronization is important in java?
What does null mean in java?
What are anonymous inner classes?
Can constructor be static or final?
What is math exp in java?
What is an image buffer?
What is isa relationship?
What is the difference between private & public & friendly classes?
What do you mean by garbage collection used in java?