Tuesday 10 July 2012

what is the main difference between final and abstract ??/

abstract is applied for only methods and class.
The abstract class must have subclass and the abstract method must need to implement in subclass.if we apply the final at class level the class does not have subclass and final method does not override. So the abstract and final is invalid combination

No comments:

Post a Comment

What is Map Collection?

A map collection refers to a set of maps that are compiled and organized for a specific purpose, such as research, education, or preservatio...