What is a public void in Java?

Ethan Miller | 2023-05-05 14:09:44 | page views:1035
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Hailey Clark

Studied at University of California, Irvine (UCI), Lives in Irvine, CA
The public is a keyword, which allows to control the visibility of class members. Member may be accessed by code outside the class by the public keyword. Static is a method which associated with the class, not a specific object of that class. Void means that the method has no return value.
2023-05-05 14:09:44

Harper Collins

QuesHub.com delivers expert answers and knowledge to you.
The public is a keyword, which allows to control the visibility of class members. Member may be accessed by code outside the class by the public keyword. Static is a method which associated with the class, not a specific object of that class. Void means that the method has no return value.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4