We call a static method by preceding it with the class name and using dot-notation. Here's an example that we looked at previously. Examples. HelloMethods.java ...
確定! 回上一頁