![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java面向对象程序设计
一直在路上漂泊
这个作者很懒,什么都没留下…
展开
-
Java面向对象程序设计(One day)
package file; import java.io.File; import java.util.Arrays; public class Filesss { public static void main(String[] args) { // TODO Auto-generated method stub /* File files = new...原创 2020-03-13 11:33:15 · 78 阅读 · 0 评论 -
java计算 1+(1/2!).....[根据输入的数字求值]s
package java2; import java.util.Scanner; /** * 计算 1+(1/2!)..... * @author 王小艺 * */ public class Factorial { public static void main(String[] args) { @SuppressWarnings("resource") ...原创 2019-05-26 21:07:44 · 913 阅读 · 0 评论 -
java中switch的用法
public class SwitchTest { public static void main(String[] args) { System.out.println("请输入:"); Scanner sc = new Scanner(System.in); String str = sc.nextLine(); ...原创 2019-05-31 18:09:29 · 528 阅读 · 0 评论 -
java中用集合存放用户数据
用static修饰, public class UserDB { public static ArrayList<User> lists = new ArrayList<User>(); public static User user = new User(); static { ...原创 2019-05-31 20:11:29 · 2366 阅读 · 1 评论