What is the Difference between Final Class && Abstract Class?



What is the Difference between Final Class && Abstract Class?..

Answer / Shivam Gupta

Final classes cannot be subclassed, while abstract classes can. A final class represents a complete entity and cannot be extended, whereas an abstract class provides a base for other classes to inherit from but cannot be instantiated on its own.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the importance of import keyword in java?

1 Answers  


What is the use of default method in interface in java?

1 Answers  


what type of questions asked for barclays technologies pune please send urgent

1 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

1 Answers  


What are the two ways in which thread can be created?

1 Answers  


How to avoid the runtime exception ?

2 Answers  


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

1 Answers  


How many ways can you break a singleton class in java?

1 Answers  


why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?

2 Answers  


For technical interview question please sir send me because tomorrow my interview

1 Answers   FactSet Systems,


What is meant by wrapper classes?

3 Answers  


How does arraylist work in java?

1 Answers  


Categories