What is difference between abstract class & final class
Answer Posted / pallavi
An abstract class is one which can't be instantiated, as it
contains one or more abstract methods( methods that are
only declared, their implementation is left for
subclasses).An abstract class always needs to be extended
in order to be used.
A Final class is one which can't be extended/inherited.
| Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
why java uses class level type casting ?
Why multiple inheritance is not supported by java?
Why doesn't the java library use a randomized version of quicksort?
Difference between throw and throws?
What is java lang string?
What is the difference between a factory and abstract factory pattern?
What is java console application?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is the java idl system?
Outline the major features of java.
Can we initialize the final blank variable?
Why java is platform independent? Explain.
What environment variables do I need to set on my machine in order to be able to run java programs?
What is class array in java?
What is jagged array in java?