diff between abstract methods and interfaces with programing
(code) example?
Answer Posted / naresh p
an abstract class contains the concrete methods as well
abstract methods. It may instance variables and static
final variables
an interface contains only abstract methods. all the
variables are by default static and final.
an abstract class contains constructor where as an
interface does not have constructors...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
State the difference between strings and arrays.
Is an array a vector?
How do you create immutable object in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is concurrent hashmap and its features?
What are the different types of collections in java?
What is difference between call by value and call by reference?
What are meta-annotations?
What means public static?
Tell me about different OOPS concepts.
Can java inner class be static?
What is java reflection?
Why string objects are immutable in java?
What is nullpointerexception in java?
What is default switch case? Give example.