Object Oriented Software Engineering View all facts Glossary Help |
subject > component > module > Java module > Java class > Java abstract 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 | instances | the 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 class | side 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 computations | a unique name since somebody in the future might want to import the packages containing both classes and hence create a name clash | abstract if it has one or more abstract methods | in a file of the same name | Java module | particular low-level subsystems | class classname | a special-purpose function such as the user interface for a particular system | its own source file | variables | an implements clause to declare that it contains methods for each of the operations specified by the interface | elements as follows: | only one superclass | if related aspects of a system are kept together in this module, and unrelated aspects are kept out | |||
Java abstract class | side 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 computations | one or more abstract methods | abstract if it has one or more abstract methods | in a file of the same name | Java class | particular low-level subsystems | to hold features that will be inherited by two or more subclasses | class classname | a special-purpose function such as the user interface for a particular system | its own source file | abstract method | an implements clause to declare that it contains methods for each of the operations specified by the interface | elements as follows: | only one superclass | specifying the abstract keyword on the first line when you declare the class | if related aspects of a system are kept together in this module, and unrelated aspects are kept out |
Up: abstract class, Java class