my dog learned polymorphism
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "plz help." Watch "plz help." New topic

plz help.

gurmeet bhatia

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:

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

Joined: May 04, 2001
Posts: 5
thanks James
I agree. Here's the link:
subject: plz help.
It's not a secret anymore!