when writing code do we "use" the class or the object in our code? or should we simply view them both as the same thing for simplicity purposes?
When writing code we always deals with the classes and objects. With out class we can't write anything because in Object Oriented Programming everything will be inside a particular class so you can't write single line of code outside the class
Coming to object . The actual code execution will be done using objects . you will access and allocate memory for required classes in coding by creating the objects for those classes in the Program
Note : If you like my answer please rate and help me it is very Imp for me
Get Answers For Free
Most questions answered within 1 hours.