Java: Programming: Kingdom - Solution
This page discusses - Java: Programming: Kingdom - Solution.
This page discusses - OOP.
This page discusses - Java: Inheritance.
Programming: Hammurabi I
Your program will simulate the functioning of an early agricultural society. It is based on the ancient computer game Hammurabi, named after a Babylonian king (See en.wikipedia.org/wiki/Hammurabi) famous for his laws. He also ran a very authoritarian soci.
Java: HandyPerson Example
Java: HandyPerson Example.
Constructor Chaining Answer
Constructor Chaining Answer.
Programming: Hammurabi II - Two Player Version
Extend the basic Hammurabi project.
Programming: Kingdom - Name
The Kingdom class should be extended to know its name..
Programming: Kingdom - Buy Land
To the Kingdom class (see Kingdom), add a method called buyLand..
Programming: Hammurabi I - Project start
The Hammurabi I program may require a number of things that you are not entirely familiar with..
Programming: Hammurabi I - Solution
The following two source files are a solution to the Hammurabi I programming problem..
Fill-in Questions: Hammurabi
Fill in the underlined areas with ONE appropriate keyword..
Fill-in: Hammurabi I
Fill in the blanks in these programs..
An interface is a list of methods that must be defined by any class which implements that interface..
Constructor Chaining Exercise 1
A this call to another constructor in the same class..
Constructors are used to initialize the instance variables (fields) of an object..
Constructors - super
These super class variables must be initialized before the class's instances variables..
Constructors - super example
Example of class without parameterless constructor..
OOP Tutorial [first draft]
Object-Oriented Design (OOD) and Object-Oriented Programming (OOP).
Class and Interface Concepts
Here are some of the basic building blocks of Objected-Oriented Programming..
Objects consist of instance fields for the class of the object, plus instance fields for its superclasses..