QuesHub > > class > Class > ASK DETAIL

What is the purpose of void class?

Harper Collins | 2023-05-05 12:30:24 | page views:1730
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Charlotte Lee

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

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.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4