watz the difference between abstract class and interface?
Which one u ill choose as a designer?
Answer / ajay roy
Abstract Class is the one which contains atleast one
abstract method and other method may not be essentially
abstract. However, interface always have only method
signature in it. We can not have methods with
implementation in interface unlice abstract class.
When designer wants to use common property of a system then
he should go with abstract method. Because in abstract
method he can have implementation of common properties
along with signature of other method which can be
implemented as per need.
Is This Answer Correct ? | 5 Yes | 1 No |
What are the core java topics?
can you create interface instance ?
Can we define a package statement after the import statement in java?
Can we restart a dead thread in java?
What is the advantage of preparedstatement over statement?
Write a java program to get a string of words and print the numbers of each word count in descending order
What are packages in java?
What is string in java?
What is skeleton and stub?
What is a method type?
What is a boolean structure?
Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.