Home : Course Map : Chapter 3 : Java : Supplements :
Chapter 3: More about Classes & Objects
JavaTech
Course Map
Chapter 2

Introduction
Class Definition
Data Fields
Methods
Constructors
Instantiation
  
Demo 1
  Demo 2
Static Members
  Demo 3

Value&Reference
  Demo 4
Overloading
   Demo 5
Wrappers 
  Demo 6
Autobox/Unbox
   Demo 7
Arrays
  Demo 8
Exceptions
Exercises

    Supplements
MoreAboutObjects
Creating Types

Classes,Objs&JVM

Java OOP vs C++
Garbage Collection
     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

For those who are new to object oriented programming (OOP), we first attempt to provide additional insight into objects and their class descriptions . It's often said that object oriented programming has a steep learning curve. This basically means that the concepts remain vague as you struggle up the slope of obscure terminology and obscure program codes, and then suddenly you are at the top of the hill and it all becomes clear.

One way to scale the hill to OOP clarity is to follow various analogies. The analogies can be metaphorical - the class description corresponds to a mold and the objects to the forms created by the mold - and they can be concrete - a class corresponds to a data type such as int or double but with customized data and functions. Considering both can help to make the concepts more transparent and tangible.

We also try to provide a clearer picture of what is going on at the processor level. Where exactly are these objects in the machine?

More advanced topics

Additional information about classes and objects in Java include:

  • Java vs C++ - a comparison of Java to C++ with regard to class and object coding.
  • Garbage Collection - discussion of memory management in Java.

 

Latest update: Dec.13.2003

           Tech
OOP in Tech Apps
Complex Number
Histogram Class
  Demo
More Wrappers

           Physics
OOP in Physics
Particle Class
Root Finding
  Demo 1
Newton Methods
  Demo 2
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.