+ 2
What is the meaning of class in java?
5 Answers
+ 4
@Suraj
You're welcome. I wrote up some code the other day for someone that was having issues with their class/objects. If you want to take a look at it, you can see a class in action and see how you can create/manipulate the objects you create from the class.
https://code.sololearn.com/cvTpdrjVW2B6/#java
+ 3
@jacobmarley nice one đâ
+ 2
Think of classes as blueprints and objects as the objects that one would create based upon the blueprint they have. Basically, the blueprint (class) is a template that maps out everything about the object you create with that blueprint. It'll let you know the properties of it, how it's made up, and what it's capable of doing once it is in the world. From there, you can create (instantiate) an object from that blueprint (class). Once you create an object in the world, you can use and manipulate that object as you see fit without impacting other instances of that object which may exist in the world. This allows you to use individual objects without affecting the other objects that were created from that blueprint. (Note: there are ways to enact change across all objects, but for the sake of this simple example, lets not focus on that. lol ) As well, this allows you to have a blueprint which can always be used to create new copies of the original object.
Hope that helps. Good luck!
+ 2
thanks đ
+ 2
it's a blueprint for creating multiple objects based on that .....
for more specific details use Google.... !!!!!!!!
lots and lots of questions posted here on solo app will be solved easily and even better, just by using that !!!!!!!