Introduction Java implements many, although not all, object concepts. A Java program comprises of a set of classes. All program instructions must be defined inside methods, which are parts of classes. Some other programming languages support the concept of "global" data and sub-programs (called functions or procedures or some such term in other languages). Global data and sub-programs are those hat are accessible to all parts of a software system. There are no "global' sub-programs or data permitted in Java.

RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |