Forums Java Help What is the purpose of Void class?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1884
    ahwriter
    Participant

    What is the purpose of Void class?

    #10463
    Aakanksha
    Participant

    The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.