Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between  RSS feed

 
Tony Ben
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is difference between Void and void .
 
Henry Wong
author
Sheriff
Posts: 22827
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Ben:
what is difference between Void and void .


A method with a void return type is pretty much a method that returns nothing.

The java.lang.Void class is a class that is used to represent the void return type -- mainly needed by the reflection library.

Henry
 
memati bas
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
void is the data type
Void is the wrapper class of this type
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!