U of C home
skip to main content

COSC Headstart

Headstart

Headstart Home
Exercises
Answers

General

Cosc Home Page
Teaching

Exercises

1. Java for C programers
83k PDF
2. Methods, properties and constructors
61k PDF and PersonTest.java
3. Parameters and return values
54k PDF and CitizenTest.java
4. References in more detail
51k PDF and DogTest.java
5. Public versus private
51k PDF, SavingsAccount.html and SavingsAccountManager.java
6. Static versus non-static
51k PDF, CartoonTest.java, CartoonCharacter.java, and CartoonTest.java
7. Conditional constructs
46k PDF, and Iffy.java
8. Looping constructs
35k PDF, and LoopTest.java
9. Arrays
65k PDF, ArrayTest.java, ArrayPrint.html, ArrayPrint.class, and ArrayTest2.java
10. Exceptions
61k PDF, Student.java, BadRandom.class
11. Inheritance
63k PDF, AnimalTest.java, and StarWars.java
12. Run-time type information
46k PDF, and ShapeTest.java
13. Polymorphism
51k PDF
14. Interfaces
58k PDF, and InterTest.java
15. Introduction to Packages
72k PDF, A.java, B.java, C.java, and D.java.
16. Advanced Packages
71k PDF, X.java, Test.java, List.java, Node.java, IsNodeObject.java, IntegrityException.java, and ListTest.java.

Last modified: Tue Feb 22 11:15:19 NZDT 2000

Site Map/Help/Search
Site Map Help Search

Moderated by the Computer Science Webmaster