Personal tools
You are here: Home Information Systems Java Platform Introduction 11. Another look at classes and Implementing Classes

11. Another look at classes and Implementing Classes

Document Actions
  • Send this
  • Print this
  • Content View
  • Bookmarks

Another look at classes

<-- Previous

Table of Contents

Next -->

The key to understanding and using Java, is the class. Almost anything in Java is an instance of a class, and if you have a good understanding of classes and their variables and methods, you will find Java much easier to subdue.

This section takes another look at classes, and works through the process of building three new dependent classes. In this process we learn about class dependency, and how to use one class to help instantiate a different but related class. After that, we will learn how to make our classes more flexible by getting live input from the user at the console, and then by using the Java swing package for the same purpose.

<-- Previous

Table of Contents

Next -->

 

 

Copyright 2007-2008, by the Contributing Authors. Cite/attribute Resource. 11. Another look at classes and Implementing Classes. (2008, July 16). Retrieved May 21, 2013, from UWC Free Courseware Web site: http://free.uwc.ac.za/freecourseware/information-systems/java-platform-introduction/another-look-at-classes. This work is licensed under a Creative Commons License : Attribution-ShareAlike 3.0. Creative Commons License : Attribution-ShareAlike 3.0