Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes plz help. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "plz help." Watch "plz help." New topic
Author

plz help.

gurmeet bhatia
Greenhorn

Joined: May 04, 2001
Posts: 5
I wanted to clearly get the concept of classes,objects,subclasses,non-subclasses,constructors(overloading) ,methods .
James Lechte
Ranch Hand

Joined: Mar 02, 2001
Posts: 30
You have hit on quite a few topics there, but the best advice i can give to you is look around at some tutorials on sites like:
http://java.sun.com http://www.ravaranch.com

OO stems from the things you have mentioned. A class is a model or a blueprint for an object, so when it is built it takes on the characteristics of that class. Subclasses further take on all functionality or characteristics of the super or parent class whilst adding more functionality specific to its own needs. i.e: when i bulid an instance of the subclass - look at the parent - build it and add the extras in the subclass. Non-subclasses im not too sure about, but overloading refers to enabling multiple ways for a model(class, method) to be used, usually through inheritance(parent and subclasses). Look at the tutorials!
Cheers James
ps. have fun
gurmeet bhatia
Greenhorn

Joined: May 04, 2001
Posts: 5
thanks James
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: plz help.
 
Similar Threads
How many Object classes overridded the equals() method?
Runtime Exception
Checked exception and Runtime exception
FileNotFoundException
Overriding a static Method