Constructors never have a return type. Learn everything you need to know about constructors that relies on the Class foundations.
Learn how to create classes and instantiate objects. Develop your skills to get the full potential of Object Oriented Programming.
You can check our Android App Course for learning C Programming. C with Classes was Bjarne Stroustrup’s early experiment with an Object Orientated C-derived language.
You may use
MyClass object; "You create objects with dynamic storage duration (usually on the heap) if you plan on using them throughout a long period of time and you create objects with automatic storage duration (usually on the stack) for a short lifetime (or scope)."