摘要:
import java.util.Random; public class jh_02_生成随机数 { public static void main(String[] args) { // greater than or equal to 0.0 and less than 1.0. // int 阅读全文
posted @ 2019-07-15 15:39
笑傲一生
阅读(979)
评论(0)
推荐(0)
摘要:
public class jh_01_String类简单了解 { public static void main(String[] args) { /* * 函数:完成特定功能的代码块。 * nextInt()---接收键盘录入的整数值。 * random()----生成[0.0 ~1.0) * equals(x)----比较(内容) * Arrays.sor... 阅读全文
posted @ 2019-07-15 15:33
笑傲一生
阅读(508)
评论(0)
推荐(0)
摘要:
public class jh_01_循环嵌套 { public static void main(String[] args) { // for(int i = 1;i<= 5;i++) { // // System.out.print("* "); // } // /* * 1 2 3 4 5 6 7 8 9 * 1 3 5 7 9 */ ... 阅读全文
posted @ 2019-07-15 15:27
笑傲一生
阅读(387)
评论(0)
推荐(0)

浙公网安备 33010602011771号