This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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
subject: plz help.