Results 1 to 4 of 4
Thread: is void a type?
- 08-01-2007, 01:19 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 51
- Rep Power
- 0
- 08-01-2007, 01:39 PM #2
Member
- Join Date
- Jul 2007
- Location
- England, Bath
- Posts
- 47
- Rep Power
- 0
Void is kind of a type! In the context that you have shown in your code it represents nothing. This means in the case of your method you are not expecting anything to be returned from the method.
Hope this helps. :D
- 08-01-2007, 04:23 PM #3
Member
- Join Date
- Jul 2007
- Posts
- 51
- Rep Power
- 0
I finally understood what it means
thanks shanePreater
- 08-01-2007, 08:12 PM #4
Member
- Join Date
- Jul 2007
- Location
- England, Bath
- Posts
- 47
- Rep Power
- 0
No problems glad to help out
Shane :D
Similar Threads
-
Java Native Access (JNA) return types of void *
By burnumd in forum Advanced JavaReplies: 5Last Post: 01-15-2010, 12:09 AM -
Type Casting Help
By rhm54 in forum New To JavaReplies: 2Last Post: 02-07-2008, 12:06 PM -
The different of static void,protected,and void in methods?
By Winarto in forum New To JavaReplies: 5Last Post: 01-24-2008, 11:53 PM -
The return type
By Marcus in forum New To JavaReplies: 1Last Post: 07-05-2007, 06:28 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks