摘要: package com.swift; import java.util.Random; import java.util.Scanner; public class CharacterRP { public static void main(String[] args) { Random ran=new Random(); int number=ran... 阅读全文
posted @ 2017-10-07 19:02 Advancing-Swift 阅读(381) 评论(0) 推荐(0) 编辑
摘要: package com.swift; import java.util.Random; public class RandomMax { public static void main(String[] args) { int max=0; Random random=new Random(); for(int i=... 阅读全文
posted @ 2017-10-07 18:27 Advancing-Swift 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 另一种生成随机数方法 阅读全文
posted @ 2017-10-07 17:45 Advancing-Swift 阅读(16803) 评论(0) 推荐(0) 编辑
摘要: package com.swift; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Scanner; public class ChatWithBreakContinue { public static void main(String[] args) { Sca... 阅读全文
posted @ 2017-10-07 12:50 Advancing-Swift 阅读(443) 评论(0) 推荐(0) 编辑