aspose file tools
The moose likes Beginning Java and the fly likes Difference between Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Difference between" Watch "Difference between" New topic
Author

Difference between

Tony Ben
Greenhorn

Joined: Feb 14, 2006
Posts: 7
what is difference between Void and void .
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16690
    
  19

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
memati bas
Ranch Hand

Joined: Jan 29, 2006
Posts: 85
void is the data type
Void is the wrapper class of this type
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Difference between
 
Similar Threads
Difference b/w Struts 1.v and Struts 2v versions
javac is killing me!!!
Difference Between Application Serve and Web server
WSAD datasource version 4 and 5 - whats the difference?
An open qustion.