javaÖÐRandomµÄÓ÷¨
import java.util.Random;
public class MathOperators {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
//Ëæ»úÊýµÄ²úÉú
int[] arr = new int[10];
Random r = new Random();
for (int m = 0; m < arr.length; m++)
{
arr[m] = r.nextInt(100);
}
for (int n = 0; n < arr.length; n++)
{
System.out.println(arr[n]);
}
}
}
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
¼ò½é
¡¡¡¡Java Card ¼¼ÊõÊÊÓÃÓÚ Java ƽ̨£¬¿ÉÓ¦ÓÃÓÚ»·¾³¸ß¶ÈרÓû¯¡¢ÄÚ´æºÍ´¦ÀíÔ¼Êø±È J2ME É豸¸ü¿Á¿ÌµÄÖÇÄÜ¿¨ºÍÆäËûÉ豸¡£
¡¡¡¡ÖÇÄÜ¿¨ÔÚ¸öÈË°²È«ÁìÓò·¢»ÓמÙ×ãÇáÖصÄ×÷Óá£ËüÃÇ¿ÉÒÔÓÃÓÚÌí¼ÓÉí·ÝÑéÖ¤£¬²¢¶Ô°²È«¼¶±ðºÜ¸ßµÄÐÅϢϵͳÌṩ°²È«·ÃÎÊ¡£´æ´¢ÔÚÖÇÄÜ¿¨ÖеÄÐÅÏ¢ÊÇ¿ÉÒÆÖ²µÄ¡£½èÖú Java Card ¼¼Êõ£¬Äú¿ÉÒÔÐ ......
java ÁгöijÎļþ¼ÐϵÄËùÓÐÎļþ
import java.io.*;
public class ListFiles {
private static String s = "";
private static BufferedReader in = new BufferedReader(
new InputStreamReader(System.in));
public static void main(String[] args) {
try {
s = in.readLine();
ge ......
ÔÒòÓкܶàÖÖ£¬±ÈÈ磺
1.Êý¾ÝÁ¿¹ýÓÚÅÓ´ó£»ËÀÑ»·
£»¾²Ì¬±äÁ¿ºÍ¾²Ì¬·½·¨¹ý¶à£»µÝ¹é£»ÎÞ·¨È·¶¨ÊÇ·ñ±»ÒýÓõĶÔÏó£»
2.ÐéÄâ»ú²»»ØÊÕÄڴ棨ÄÚ´æй©£©£»
˵°×Á˾ÍÊdzÌÐòÔËÐÐÒªÓõ½µÄÄÚ´æ´óÓÚÐéÄâ»úÄÜÌṩµÄ×î´óÄÚ´æ¾Í·¢ÉúÄÚ´æÒç³öÁË¡£
ÄÚ´æÒç³öµÄÎÊÌâÒª¿´ÒµÎñºÍϵͳ´óС¶ø¶¨£¬¶ÔÓÚijЩϵͳ¿ ......