Answer Posted / ram
Abstract class have the constructor in it just to instantiate its instance variables. Where as Interfaces are not containing any instance variables. That is why, they dont have constructor concept.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we restart a dead thread in java?
What is an arraylist in java?
List any five features of java?
Is null a string or object in java?
What is meant by class loader? How many types are there?
What is subsequence of a string?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is variable explain with example?
Print Vertical traversal of a Binary Tree.
How do you differentiate abstract class from interface?
What is an interface in java?
What is the differences between c++ and java? Explain
What is difference between static class and singleton pattern?
Can an interface implement another interface?
How to create an interface?