Answer Posted / laxmikant
As Interfaces always have abstract methods, it needs less
time for compiler to compile them as compared to abstract
classes which may have well defined methods for sharing
among the classes which will extend it.
Is This Answer Correct ? | 4 Yes | 16 No |
Post New Answer View All Answers
Why java uses the concept of the string literal?
What state is a thread in when it is executing?
Explain the use of shift operator in java. Can you give some examples?
What is tree in java?
Is there any difference between synchronized methods and synchronized statements?
Explain the difference between the public, private, final, protected, and default modifiers?
What are methods?
What is type inference in java8?
What does business logic mean?
Is string passed by reference in java?
What is the association?
What is a generic code?
What is the purpose of static methods and variables?
Implement a stack with push (), pop() and min() in O(1) time.
What is constructor and virtual function? Can we call a virtual function in a constructor?