摘要: package Suchas; import java.io.*; public class FileIO { public FileIO(String str) { File f = new File("data.txt"); try { File file = new File("dat... 阅读全文
posted @ 2019-06-16 15:36 尹天仇, 阅读(162) 评论(0) 推荐(0) 编辑
摘要: package com.wsy.work2; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing... 阅读全文
posted @ 2019-05-15 22:14 尹天仇, 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package work; import java.util.Scanner; public class ExceptionTest { public static void main(String[] args) { Scanner in = new Scanner(System.in); double n1 = in.nextDouble(); ... 阅读全文
posted @ 2019-05-15 22:13 尹天仇, 阅读(91) 评论(0) 推荐(0) 编辑
摘要: package com.wsy.work; import java.awt.Color;import java.awt.event.ActionEvent;import java.awt.event.ActionListener; import javax.swing.JButton;import 阅读全文
posted @ 2019-05-15 22:08 尹天仇, 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 第一题:package JavaPractice; class Monkey { private String s; public Monkey() { } public Monkey(String s) { this.s=s; } public String getS() { return s; 阅读全文
posted @ 2019-05-08 16:10 尹天仇, 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public class manage{ private int l; private int n; public manage() { } public manage(int l,int n) { this.l=l; this.n=n; } public int getshow1() { retu 阅读全文
posted @ 2019-04-30 20:20 尹天仇, 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-06 14:32 尹天仇, 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 感觉Java很重要,但是学起来好像并不比C语言简单。 阅读全文
posted @ 2019-03-24 13:33 尹天仇, 阅读(182) 评论(0) 推荐(0) 编辑