Computer Science, asked by madhurambaliwada, 10 months ago

Can A static class method can be invoked by simply using the name of the method alone true or false

Answers

Answered by NoVa0p
2

Answer:

A method in a class declared as static may be invoked simply by using the name of the method alone. This is true when the call is made from within the same class. However, when a static method is invoked from another class, then both the classname as well as the method name must be used to make the call.

True :)

Similar questions