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.Learn...
Before embarking on the road to Java programmer certification, it is important to understand the basic terminology and concepts in object-oriented programming (OOP). In this...
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...
Class Instantiation
The process of creating objects from a class is called instantiation. An object is an instance of a class. The object is constructed using...
There are two fundamental mechanisms for building new classes from existing ones: inheritance and aggregation. It makes sense to inherit from an existing class Vehicle...
When building new classes from existing classes using aggregation, a composite object is built from other constituent objects that are its parts.
Java supports aggregation of...
Code in Java must be encapsulated in classes.There are two kinds of values in Java: object references and atomic values of primitive types.References denote objects...
Review Questions
1.1
Which statement is true about a method?
Select the one correct answer.
A method is an implementation of an abstraction.A method is an attribute defining the...
Review Questions
1.8
What command in the Java 2 SDK should be used to compile the following code contained in a file called SmallProg.java?
public class SmallProg {...
Chapter Summary
The following topics were discussed in this chapter:
basic concepts in OOP, and how they are supported in Javaessential elements of a Java applicationcompiling and...
1.1
Modify the program from Example to use the PrintableCharStack class, rather than the CharStack class. Utilize the printStackElements() method from the PrintableCharStack class. Is the...
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.