what are the diffrences between interface and abstract
class?
Answer Posted / cool
=>Abstract class means
1)We can have concreate methods and abstrat methods
2) We can give implementation for concreate methods.
Interfaces means
1)we could not have concreate methods.All the methods are
abstract methods implicitly.
2)And those methods allows only public access specifier
only.It wont
allow any final,static keywords with methods .
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is array size fixed in java?
What is a parameter in matrices?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
What is the purpose of static methods and variables?
How do you escape a string?
What is a parameter in a function?
Should you use singleton pattern?
What is the java project architecture?
What are java packages?
What is singletonlist in java?
How dead lock situation occurs in java and how you can identify it?
What is the advantage of OOP in java?
What are static blocks and static initalizers in java ?
What is passing value java?
Is set sorted in java?