Jyoti,

These are very basic questions, and if something is not understood, I would 
read further any OO book that covers these topics. Sometimes a lot of patience 
is needed and answers will surely come. 

To keep things simple. A class is a template that captures general properties 
and behaviours. For example an animal is a class. 

An OBJECT is an instance of a class. A dog is an instance of an ANIMAL 
class..(although in other contexts a dog can also be a class).  

Another example a PERSON is a class. A child named "Ana" is an OBJECT. 

By Methods we mean behaviors. 

How to declare them, you will have to read that...I would suggesr HEAD FIRST 
series or any java basic book. 

Sundar

--- On Sun, 3/21/10, Jyoti Parmar <[email protected]> wrote:

> From: Jyoti Parmar <[email protected]>
> Subject: [java programming]
> To: [email protected]
> Date: Sunday, March 21, 2010, 9:48 AM
> i cant understand what is class ,
> object and their methods and how to declare it......please
> explain it to me .... i need to help to learning a java
> 
> 
>       Your Mail works best with the New
> Yahoo Optimized IE8. Get it NOW! 
> http://downloads.yahoo.com/in/internetexplorer/
> 
> -- 
> To post to this group, send email to 
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en
> 
> To unsubscribe from this group, send email to
> javaprogrammingwithpassion+unsubscribegooglegroups.com or
> reply to this email with the words "REMOVE ME" as the
> subject.
> 


      

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscribegooglegroups.com or reply to this email 
with the words "REMOVE ME" as the subject.

Reply via email to