Forums Java Help What is the purpose of Void class

This topic contains 1 reply, has 1 voice, and was last updated by  Aakanksha 8 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3842

    Aakanksha
    Participant

    What is the purpose of Void class?

    #11545

    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.