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
What is a package in java? List down various advantages of packages.
What is regex in java?
Why parsing is done?
Are global variables initialized to zero?
How does regex work?
How do you create a sop?
How do you achieve singleton?
In a container there are 5 components. I want to display all the component names, how will you do that?
Why java is said to be pass-by-value ?
How many types of voids are there?
Is array synchronized in java?
Is void a type?
Is string serializable in java?
What is the use of set in java?
What methods are used to get and set the text label displayed by a button object?