Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

mominanisar

  • 4 years ago

why we use classes in java?

  • This Question is Closed
  1. shadowfiend
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Not sure what you mean by this. Java as a language is built around the concepts of classes and objects, so there isn't really a way of answering this that isn't circular :)

  2. jagatuba
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    It is a rather recursive question isn't it?

  3. marguedas
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Classes are the mechanism used by Java to define and determine the relationships between the objects used in an application. Now, not all OO programming languages require the use/specification of classes for the definition of the objects, but Java designers decided to make use of the concept of classes.

  4. jagatuba
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @ marguedas: Which OOP languages do not use classes?

  5. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy