Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > class > abstract class
Next classaggregate    Upclass    Previous classview   

abstract class comparison table
Subject need in lack have be is a kind of store is a subtopic of implement group hide create have purpose have form perform place in has part divide up into use help order name after represent extend declare draw as contain have high cohesion create by see also
Java abstract classa domain model if you have to store or manipulate instances of it in order to implement a requirementside 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 methodsJava classin a file of the same nameThe Basics of Javaparticular low-level subsystemsthe pieces of data that describe some entity, so that programmers can manipulate that data as a unitthe details of datato hold a responsibility if the responsibility cannot be attributed to any of the existing classesto 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 methodmethodsan implements clause to declare that it contains methods for each of the operations specified by the interfacea programmer to cope with the complexity of dataelements 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
the internals of a computer system such as 'Record', 'Table', 'Data', 'Structure', or 'Information'several similar objectsonly one superclassa list of variables, called instance variables, corresponding to data that will be present in each instancea box with the name of the class inside in a UML class diagramdata associated with each objectif related aspects of a system are kept together in this module, and unrelated aspects are kept outspecifying the abstract keyword on the first line when you declare the classclass^2

Next classaggregate    Upclass    Previous classview