Computer Science (CSCI) Department
College of Engineering, Computer Science, & Technology (ECST)

JETT Workshops
Java Basics

Fall 2004

 

Classes and Objects are fundamental concepts of Object-Oriented Programming (OOP)
(Example code and figures from Computing Concepts with Java Essentials, 3rd edition, by Cay Horstmann.
Visit www.wiley.com/college/horstmann for information on the current edition of this excellent text.)

Exercise - create and play with the Greeter project

  • set up the Greeter project
  • play with the program
    • create some Greeter objects in GreeterTest
    • call the sayHello( ) method