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
Does printwriter create a file?
How do you sort a string in java?
What is unsigned char?
Give a practical example of singleton class usage?
What is the symbol for average?
Can you access non static variable in static context?
What is a wrapper method?
How do you decide when to use arraylist and linkedlist?
What is a string what operation can be performed out with the help of a string?
Give few difference between constructor and method?
What is method overriding in java ?
What is array sorting in java?
Explain the protected field modifier?
Why do we need data structure in java?
What's the base class in java from which all classes are derived?