wood burning stoves
The moose likes Beginning Java and the fly likes What is a class? (was:java) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is a class? (was:java)" Watch "What is a class? (was:java)" New topic

What is a class? (was:java)

bren das

Joined: Feb 19, 2007
Posts: 5
what is class?
[ February 20, 2007: Message edited by: Barry Gaunt ]
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Google it

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
SampathKumar chinnadurai
Ranch Hand

Joined: Jul 05, 2006
Posts: 44
  • Class is the basic building block of an object oriented system.
  • A class can have attributes and functions of its own.Thus it can act on messages and also maintain its state.
  • class is the definition of some object data type.

  • [ February 20, 2007: Message edited by: SampathKumar chinnadurai ]

    Cleared SCJP 6 (87%), SCWCD 5 (94%), SCBCD 5.0(95%), PMP ,preparing SCDJWS ,OCUP
    Barry Gaunt
    Ranch Hand

    Joined: Aug 03, 2002
    Posts: 7729
    For absolute beginner's questions we have our Java in General (Beginner) forum.

    Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
    Getting someone to think and try something out is much more useful than just telling them the answer.
    Barry Gaunt
    Ranch Hand

    Joined: Aug 03, 2002
    Posts: 7729
    Perhaps reading what the Java Tutorial has to tell about classes and objects will help you.
    Bhavik patel
    Ranch Hand

    Joined: Feb 20, 2007
    Posts: 49
    technicaly a class is an abstraction that all the object of that class
    must yos to get on heap...
    [ February 20, 2007: Message edited by: Bhavikgee patel ]

    Bhavik Patel
    Glassfish Consultancy service At http://www.jmatrix.in
    I agree. Here's the link: http://aspose.com/file-tools
    subject: What is a class? (was:java)
    It's not a secret anymore!