1.

What is the difference between the static and the instance method?

Answer»

STATIC Method: The function of the static method cannot be OVERRIDDEN because it is bounded within the class. It actually belongs to the class and area.

Instance Method: Whereas the instance method is basically bounded with the object and ALSO it belongs to the HEAP area.



Discussion

No Comment Found