您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction
Content
Apply
Reflect
Extend


Table of Contents
          Introduction to unit 6
        Unit 6 ?Assigned reading
 
          Classes and Objects
               Defining a class in Java 
     Why are classes important?
     Variables

    Defining a more complex Class
 

          Creation and deletion of objects
                     Examples of 'new?statements

           Classes and Objects ?Activities and Exercises
 
Methods
Constructor methods

Customer constructor example
Arguments (parameters)
Return value
Methods in general

Methods ?customer example
Methods ?Activities and Exercises

Variables
          Object variables ?references to objects in memory
Variables can change
          Object individuality
          Local variables in methods -Different Kinds of variable
Local variable

Access to methods and variables
Sending messages to use methods from other classes
Keyword 'this'

More about the 'dot' notation
Access control     
 
Class Methods and variables
          Examples of class variables (and constants)
          Examples of class methods

Packages and imports
         Packages and Imports ?Activities and Exercises

Summary of terminology

Back to top

basicline.gif (170 bytes)

RITSEC - Global Campus
Copyright © 1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg