摘要: package com.ZZ.z1; class Fu { int num = 4; void show() { System.out.println("showFu"); } } class Zi extends Fu { int num = 5; void show() { System.out 阅读全文
posted @ 2022-05-24 16:31 小松2739 阅读(30) 评论(0) 推荐(0) 编辑
摘要: package com.com.FZAL;public class test01 { public static void main(String[] args) { Studentf s0 = new Studentf("松松","173","男",23); ZY t1 = new ZY("材料" 阅读全文
posted @ 2022-05-21 15:59 小松2739 阅读(22) 评论(0) 推荐(0) 编辑
摘要: package com.com.FZAL;public class test { public static void main(String[] args) { //new对象 Studentf s0 = new Studentf("松松","173","男",23); ZY t0 = new Z 阅读全文
posted @ 2022-05-21 15:13 小松2739 阅读(17) 评论(0) 推荐(0) 编辑
摘要: package com.com.Prioity;import java.text.SimpleDateFormat;import java.util.Date;public class MyThread extends Thread{ @Override public void run() { wh 阅读全文
posted @ 2022-05-17 17:12 小松2739 阅读(20) 评论(0) 推荐(0) 编辑
摘要: package com.com.Prioity;public class MyThread extends Thread{ public MyThread(String name){ super.setName(name); } @Override public void run() { for ( 阅读全文
posted @ 2022-05-17 17:06 小松2739 阅读(42) 评论(0) 推荐(0) 编辑
摘要: package com.com.duoxiancheng;public class MyRunnable implements Runnable{//接口 @Override public void run() { for (int i = 0; i <1000 ; i++) { System.ou 阅读全文
posted @ 2022-05-17 16:51 小松2739 阅读(62) 评论(0) 推荐(0) 编辑
摘要: package com.com.duoxiancheng;public class Test1 { public static void main(String[] args) {//主线程 //1创建线程对象 Mythread mt = new Mythread(); //2调用start()方法 阅读全文
posted @ 2022-05-17 16:50 小松2739 阅读(150) 评论(0) 推荐(0) 编辑
摘要: package com.com.IO;import java.io.File;import java.io.IOException;public class file { public static void main(String[] args) { //File文件操作// try {// Fi 阅读全文
posted @ 2022-05-16 10:07 小松2739 阅读(503) 评论(0) 推荐(0) 编辑
摘要: package com.com.collections;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;public class HomeWork02 { p 阅读全文
posted @ 2022-05-16 09:38 小松2739 阅读(56) 评论(0) 推荐(0) 编辑
摘要: package com.com.collections;import java.util.HashMap;import java.util.Map;public class Homeworks { public static void main(String[] args) { String str 阅读全文
posted @ 2022-05-16 09:28 小松2739 阅读(2213) 评论(0) 推荐(0) 编辑