diff between abstract methods and interfaces with programing
(code) example?
Answer Posted / naresh p
an abstract class contains the concrete methods as well
abstract methods. It may instance variables and static
final variables
an interface contains only abstract methods. all the
variables are by default static and final.
an abstract class contains constructor where as an
interface does not have constructors...
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a variable and constant?
What is the difference between processes and threads?
What causes memory leaks in java?
What is the memory leak in java?
What are byte codes?
List primitive java types?
how would you implement a thread pool? : Java thread
What are the uses of java?
What is a parameter in java?
What is the covariant return type?
What is the difference between static and non-static variables in java programming?
Can a final variable be initialized in constructor?
How are variables stored?
Are generics important java?
What is the use of parse function in java?