aspose file tools*
The moose likes Beginning Java and the fly likes java quiz Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java quiz" Watch "java quiz" New topic
Author

java quiz

Ade Fapetu
Greenhorn

Joined: Oct 09, 2005
Posts: 6
write a literal representing long integer value 12 billion
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hi,

Welcome to JavaRanch!

Ummm... Not sure why this would have you stumped. Do you not know how many zeroes are in a billion (assuming you're using the same definition of "billion" as the questioner?) You mention that it's a long literal, and the only even vaguely tricky part -- gotta remember that 'L' at the end.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java quiz