• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plz help.

 
gurmeet bhatia
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to clearly get the concept of classes,objects,subclasses,non-subclasses,constructors(overloading) ,methods .
 
James Lechte
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic