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 java a security risk?
How many types of operators are there?
What do you mean by of string::valueof expression in java 8?
What are the 6 boolean operators?
Are floats faster than doubles?
How do you start a thread?
What is the difference between overriding & overloading?
What is a class object?
How can you say java is object oriented?
How is final different from finally and finalize?
What is map and hashmap in java?
What is the difference between a local variable and an instance variable?
What is the difference between a switch statement and an if statement?
What is flag in python?
What are constants?