I’m a beginner in java, and I’ve gone through various definitions of OOP concepts, but I’ve never really understood the concept of a class and object, so could someone please explain this to me. and please don’t just say an object is an instance of a class , what exactly does that mean? examples would help
I’m a beginner in java, and I’ve gone through various definitions of OOP concepts,
Share
In most OOP languages, an “object” is a data-structure upon which you can perform a fixed set of actions or operations and a “class” is the means used to define what data an object contains (or has access to) and what operations it can perform or can be performed upon it.