when to use abstract class and when to use interface?
Answer Posted / ram
Abstract class is used when and what methods are used
exactly while in interface,the methods are defined for
future use.
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
How many characters is 2 bytes?
Define interface in java?
Is there any tag in htm to upload and download files?
Can we clone singleton object in java?
What is the default size of arraylist in java?
What are the important features of Java 10 release?
How to sort elements in a parallel array in java?
Is arraylist dynamic in java?
How do you identify if jvm is 32-bit or 64-bit from java program?
What are the types of java?
How do you reverse a string in java?
What is an example of a constant variable?
Differentiate between array list and vector in java.
What do you understand by garbage collection in Java? Can it be forced to run?
What is immutable class in java?