I have a class which is abstract which contains only the
abstract methods. This is similar to an interface. Then, if
i have given a choice to choose one of them. Which one i
have to choose and why?
Answer Posted / venu
i preferred to choose interface bcoz
if i implement interface still i have a chance to extend
another class
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is the main purpose of serialization in java?
What is the symbol for average?
How is a variable stored in memory?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What is string pool in java?
What is the class in java?
What is an object's lock and which object's have locks in java programming?
Who is the owner of java?
What is the purpose of nested class in java?
Which one of the following suits the description of a string better: derived or primitive?
How does multithreading take place on a computer with a single cpu in java programming?
How can you make a class serializable in java?
How do you sort a string in alphabetical order in java?
Do we have pointers in java?