John Delmark Aguilar

Delmark - Profiling
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Random Number

View previous topic View next topic Go down 
AuthorMessage
dElmARk
Admin
Admin
avatar

Posts : 92
Join date : 09/04/2012

PostSubject: Random Number   Sat Feb 23, 2013 4:29 pm

Code:
import java.util.*;
public class rndom{
    public static void main(String[] ecs){
    Random a = new Random();
    int b = a.nextInt(10);
    System.out.print (b);
    }
}
Back to top Go down
View user profile http://delmark.meabout.com
 
Random Number
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
John Delmark Aguilar :: dElmARk Productions :: Java Programs :: Tutorials-
Jump to: