- An abstract class may have constructors
- It is illegal to invoke the new operator on an abstract class
- An abstract class is allowed to have method implementations
- There is no restriction about the placement of abstract classes in a class hierarchy
- It is legal for an abstract class to implement an interface and implement one or more interface methods
- A well-encapsulated class must have all of its attributes marked private
- A well-encapsulated class must hide all internal methods.
- NOT all attributes require accessor or mutator methods
From: http://sitestree.com/?p=4936
Categories:Java Short Notes
Tags:
Post Data:2008-07-21 09:28:29
Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada