Results 1 to 4 of 4
- 04-21-2011, 08:09 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 11
- Rep Power
- 0
- 04-21-2011, 08:15 PM #2
Member
- Join Date
- Nov 2010
- Location
- Beirut, Lebanon
- Posts
- 36
- Rep Power
- 0
i cant seem to get the question, further explanation would be appreciated.
- 04-21-2011, 08:16 PM #3
Member
- Join Date
- Apr 2011
- Posts
- 11
- Rep Power
- 0
Nevermind, I got it!
Last edited by csisdifficult; 04-21-2011 at 08:19 PM.
- 04-21-2011, 08:24 PM #4
Member
- Join Date
- Nov 2010
- Location
- Beirut, Lebanon
- Posts
- 36
- Rep Power
- 0
You may seem to be experiencing a couple of misconceptions for methods to return values they cannot be of type void and if in your method deceleration is an (int) as in the first method then your return type should be an int. As for the rest you should specify the return type and not declare methods of type void.
If you explain the idea behind the program I may be able to help you.Last edited by farahm; 04-21-2011 at 08:31 PM.
Similar Threads
-
using java to generate ms office documents?
By gabriels in forum JDBCReplies: 2Last Post: 02-23-2011, 04:20 PM -
download API documents
By srinivasmallabathula in forum New To JavaReplies: 1Last Post: 01-20-2011, 11:15 AM -
Scanner reading accented characters
By Phenomena in forum New To JavaReplies: 2Last Post: 04-29-2010, 04:06 PM -
Reading pattern using Scanner class
By Java Tip in forum Java TipReplies: 0Last Post: 01-18-2008, 12:02 PM -
Reading a line from console using Scanner class
By Java Tip in forum Java TipReplies: 0Last Post: 01-18-2008, 11:52 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks