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 is function declaration?
What are static methods?
Why java applets are more useful for intranets as compared to internet?
What is a top level class in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
How to use Media tracker Class.
What is space character in java?
Explain the difference between an object-oriented programming language and object-based programming language?
What is the use of list in java?
What is return code?
Can an arraylist be empty?
Does hashset allow duplicates in java?
Which number is denoted by leading zero in java?
What is the difference between an argument and a parameter?
What is the difference between the file and randomaccessfile classes?