Jarada Productions Forum Index Jarada Productions
 The forums of Jarada Productions 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 RegisterRegister   Log inLog in 
The time now is Tue Sep 07, 2010 3:03 am
All times are UTC + 0
View posts since last visit
View unanswered posts
 Forum index » Java » General Discussion
Posting Java Code
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topicView next topic
Page 1 of 1 [1 Post]  
Author Message
Jarada
Chief Administrator
Chief Administrator


Joined: Today
Posts: 107
Location: United Kingdom
 Posting Java Code

To post code, type the following into the message body (when posting a new topic or reply):
Code:

[code]
Your Code
[/code]


For example:

Code:

import java.util.Random;

class Dice
{
   public static void main(String[] args)
   {
      Random dice = new Random();
      int diceInt = (dice.nextInt(6) + 1);
      System.out.println(diceInt);
   }
}


PostPosted: Mon Dec 11, 2006 9:04 pm
 View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Reply with quote Back to top 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topicView next topic
 Forum index » Java » General Discussion
Jump to:  

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0913s ][ Queries: 9 (0.0037s) ][ Debug on ]