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
How many types of literals are there in JAVA?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
Is c better than java?
Is 0 an even number?
What methodology can be utilized to link to a database?
Can you use abstract and final both with a method?
What is a 16 bit word?
Name and explain the types of ways which are used to pass arguments in any function in java.
What is the difference between scrollbar and scrollpane?
Tell me how many ways are there to initialise an integer with a constant.
Can constructor be static or final?
Can a boolean be null java?
What are access specifiers in java ?
How are variables stored?
Difference between nested and inner classes ?