Is void a data type in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at IBM, Lives in Armonk, NY
The Void class represents the void keyword; while the Integer class represents an int type. The Class object representing the primitive Java type void. ... But you could declare pointer to void. Function which return value is void means function has no return value, or returns nothing.
2023-05-05 14:09:55
评论(499)
Helpful(122)
Helpful
Helpful(2)

Harper Hughes
QuesHub.com delivers expert answers and knowledge to you.
The Void class represents the void keyword; while the Integer class represents an int type. The Class object representing the primitive Java type void. ... But you could declare pointer to void. Function which return value is void means function has no return value, or returns nothing.