objptr
objptr, short for object pointer, is a fundamental concept in object-oriented programming (OOP) that refers to a variable that holds the memory address of an object. In languages like C++ and Java, objects are typically allocated on the heap, and a pointer is used to access and manipulate them. When you declare a pointer to an object, you are essentially creating a variable that doesn't store the object itself, but rather where in memory that object resides. This allows for indirect access and manipulation of the object's data and methods.
The use of objptrs enables dynamic memory allocation, where objects can be created and destroyed at runtime
Objptrs also play a significant role in polymorphism. Through mechanisms like virtual functions and base class