What is the purpose of void class?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Cape Town, Lives in Cape Town, South Africa.
what is purpose of Void class in Java? It is an uninstantiable class that hold a reference to the Class object representing the primitive Java type void. The Void class according to javadoc exists because of the fact that some time we may need to represent the void keyword as an object.
2023-05-14 12:30:24
评论(499)
Helpful(122)
Helpful
Helpful(2)

Isabella Carter
QuesHub.com delivers expert answers and knowledge to you.
what is purpose of Void class in Java? It is an uninstantiable class that hold a reference to the Class object representing the primitive Java type void. The Void class according to javadoc exists because of the fact that some time we may need to represent the void keyword as an object.