0
Can I use the same object to access all the functions in my class? or does each function need it's own object
2 ответов
+ 5
Normally, an object must be processed by multiple methods (functions.) But, that doesn't mean you can't have methods only meant for one special type of object. However, you better have a really awesome reason for it.
+ 1
Only 1 object of class is needed to use the functions of that class.
variable_Name.doSomthing();