What is the diff. b/w Interfaces & Abstract class?
Answer Posted / supriyo pal
There are three main differences between an interface and an abstract class:
• At the same time multiple interfaces can be implemented, but only extend one class
• an abstract class may have some method implementation (non-abstract methods, constructors, instance initializers and instance variables) and non-public members
• abstract classes may or may not be a little bit faster
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is the difference between an interface and an abstract class?
What is the basic of java?
Mention the default values of all the elements of an array defined as an instance variable.
What is assembly condition codes?
What does main method?
Is null a keyword in java?
What is used of static keyword in java?
Explain method local inner classes ?
What is a private class in java?
What is the difference between instanceof and isinstance?
What is the integer of 16?
What is the synonym of framework?
Which one of the following suits the description of a string better: derived or primitive?
What does null mean in java?