-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Under calling user defined method where a little description about static and non - static methods is given, there is a paragraph :
In Java, calling or invoking a method depends on whether the method is static or non-static.
If the method is static, we can call it directly using the class name or from within the same class. Note that we need to create an object for calling static methods.
The line - "Note that we need to create an object for calling static methods"
This is wrong, it should be - Note that we need to create an object for calling non - static methods. or Note that we do not need to create an object for calling static methods.
The section link is - https://www.tpointtech.com/method-in-java
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels