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
What exceptions occur during serialization?
What is the console in java?
What is private public protected in java?
which class is the wait() method defined in? : Java thread
What is the purpose of static keyword in java?
What are the files generated after using IDL to java compiler?
what is the volatile modifier for? : Java thread
Can we override final method?
Define class?
What is the use of optional ?
What does compareto () do in java?
What is encapsulation in java?
Which is easier .net or java?
List some important features of java 10 release?
What is the main use of java?