InterviewSolution
Saved Bookmarks
| 1. |
Is it always necessary to create objects from class? |
|
Answer» No. An OBJECT is necessary to be CREATED if the base CLASS has non-static methods. But if the class has static methods, then objects don’t NEED to be created. You can call the class method DIRECTLY in this case, using the class name. |
|