HELP! * GREY=local LOCAL HTML version of Foils prepared July 10 1996

Foil 82 Comments on abstract Methods and Classes

From Basic Lectures on Java Language Applets Graphics Networking Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96. by Geoffrey C. Fox * See also color IMAGE

An abstract method has no body and must be defined in some subclass of the class in which they are declared.
Constructors, static methods, private methods cannot be abstract
A method that overrides a superclass method cannot be abstract
Classes that contain abstract methods and classes that inherit abstract methods without overriding them are considered abstract classes
It is compile-time error to instantiated an abstract class or attempt to call an abstract method directly.



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997