Ask your own question, for FREE!
Computer Science 75 Online
OpenStudy (anonymous):

why we use classes in java?

OpenStudy (shadowfiend):

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 :)

OpenStudy (jagatuba):

It is a rather recursive question isn't it?

OpenStudy (anonymous):

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.

OpenStudy (jagatuba):

@ marguedas: Which OOP languages do not use classes?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!