best answer > What is public void 2024?- QuesHub | Better Than Quora
  • What is public void?

    方法 对象 堆栈

    Questioner:Oliver Thompson 2023-05-05 14:09:45
The most authoritative answer in 2024
  • Isabella Carter——Studied at University of Cambridge, Lives in Cambridge, UK

    public means that the method is visible and can be called from other objects of other types. ... This means that you can call a static method without creating an object of the class. void means that the method has no return value. If the method returned an int you would write int instead of void .read more >>
    +119962023-05-13 14:09:45

About “方法、对象、堆栈”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消