Saved Bookmarks
| 1. |
How is a static method different from an instance method? |
|
Answer» A static method has to be defined outside a class. It can be called without an object. An instance method is defined within a class and has to be invoked on an object. |
|