Difference between abstract class and Interfaces?
Answer Posted / hema
Abstract Class is the Class where it can have Methods with
both Definition and Declaration.
Method Declaration: public void Display();
Method Definition: public void Add(){ ..code goes on here...}
When all the methods in a class are only Declared then it is
Interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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
Where local and global variables are stored?
Define a package.
What is the tradeoff between using an unordered array versus an ordered array?
How do you allocate memory to object?
Is a case study a method or methodology?
Is ++ operator thread-safe in java?
What is covariant return type?
Discuss about garbage collector in Java.
What restrictions are placed on method overloading in java programming?
How do you sort a set in java?
What is the benefit of abstract class?
Explain the access modifiers for a class, method and variables?
How do I know if java is installed?
What do you mean by garbage collection used in java?