Object Oriented Software Engineering   View all facts   Glossary   Help
subject > component > module > Java module > Java class > Java abstract class
Upabstract class, Java class

Java abstract class comparison table
Subject lack have be store is a kind of implement have purpose have form perform place in has part use has definition order extend create by have high cohesion
abstract class instancesthe unit of data abstraction in an object-oriented program class to hold features that will be inherited by two or more subclasses   abstract method A class that cannot have any instances    
Java classside effects if it does not modify any data, and does not leave behind any information, other than its result, that would have an effect on other computationsa unique name since somebody in the future might want to import the packages containing both classes and hence create a name clashabstract if it has one or more abstract methodsin a file of the same nameJava moduleparticular low-level subsystems 
class classname
{ // declarations of variables
// declarations of constructors (discussed below)
// declarations of other methods with public ones first
}
a special-purpose function such as the user interface for a particular systemits own source filevariablesan implements clause to declare that it contains methods for each of the operations specified by the interface elements as follows:
  1. class variables
  2. instance variables
  3. constructors
  4. the most important public methods
  5. methods that are simply used to access variables
  6. private methods
only one superclass if related aspects of a system are kept together in this module, and unrelated aspects are kept out
Java abstract classside effects if it does not modify any data, and does not leave behind any information, other than its result, that would have an effect on other computationsone or more abstract methodsabstract if it has one or more abstract methodsin a file of the same nameJava classparticular low-level subsystemsto hold features that will be inherited by two or more subclasses
class classname
{ // declarations of variables
// declarations of constructors (discussed below)
// declarations of other methods with public ones first
}
a special-purpose function such as the user interface for a particular systemits own source fileabstract methodan implements clause to declare that it contains methods for each of the operations specified by the interface elements as follows:
  1. class variables
  2. instance variables
  3. constructors
  4. the most important public methods
  5. methods that are simply used to access variables
  6. private methods
only one superclassspecifying the abstract keyword on the first line when you declare the classif related aspects of a system are kept together in this module, and unrelated aspects are kept out

Upabstract class, Java class