Aug. 22, 2010, 12:59 p.m.
posted by soulmaker
Basics of Java Programming
Supplementary Objectives Introduce the basic terminology and concepts in object-oriented programming: classes, objects, references, fields, methods, members, inheritance, aggregation.Identify the essential elements of a Java application read more
Introduction
Before embarking on the road to Java programmer certification, it is important to understand the basic terminology and concepts in object-oriented programming (OOP). read more
Classes
One of the fundamental ways in which we handle complexity is abstractions. An abstraction denotes the essential properties and behaviors of an object that differentiate. read more
Objects
Class Instantiation The process of creating objects from a class is called instantiation. An object is an instance of a class. read more
Instance Members
Each object created will have its own copies of the fields defined in its class. The fields of an object are called instance variables. read more
Static Members
In some cases, certain members should only belong to the class, and not be part of any object created from the class. read more
Inheritance
There are two fundamental mechanisms for building new classes from existing ones: inheritance and aggregation. read more
Aggregation
When building new classes from existing classes using aggregation, a composite object is built from other constituent objects that are its parts. read more
Tenets of Java
Code in Java must be encapsulated in classes.There are two kinds of values in Java: object references and atomic values of primitive types. read more
Download
Review Questions 1.1 Which statement is true about a method? Select the one correct answer. read more
Java Programs
A Java program is a collection of one or more classes, with one of them containing the program's execution starting point. A Java source file read more
Sample Java Application
An application is what is normally called a program: source code that is compiled and directly executed. In order to create an application in Java,... read more
- Comment