![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
薄荷叶汁
不会就学呗
展开
-
Java - IO输入输出练习 - bookstore
package Bookstore;public class books { int id;// 图书名称 String name;// 图书单价 double price;// 图书数量 int number;// 总价 double money;// 出版社 String publish...原创 2020-01-06 16:48:20 · 221 阅读 · 0 评论 -
Java - Java api练习 - Wrappertest
package JavaAPI;import java.util.Arrays;//字符串排序程序public class wrappertest { private static final String space_s = " "; public static void main(String[] args) { String numstr = "2...原创 2020-01-03 17:15:14 · 243 阅读 · 0 评论 -
Java - Java api练习 - Stringtest
package JavaAPI;//记录一个字串在整串中出现的次数public class stringtest { public static void main(String[] args) { String str = "giaoaskfjsgiao akjfnagiaoajfdagiaojhfbakgiao"; String key = "gia...原创 2020-01-03 17:13:17 · 175 阅读 · 0 评论 -
Java - 基础代码 - 面向对象
package object;public class object03 { static class Student{ private String name; private int age; public void setAge(int sage) { if (sage > 0) { ...原创 2020-01-02 16:13:50 · 111 阅读 · 0 评论 -
Java - 面向对象练习 - USBinterface
computerpackage USBinterface;public class computer { private USB[] userarr = new USB[3]; public void add(USB usb){ for (int i = 0; i < userarr.length; i++) { if (user...原创 2020-01-02 14:01:34 · 303 阅读 · 0 评论 -
Java - 面向对象练习 - bank
Bankpackage bank;public class Bank {// 银行名称、账号、密码、余额、交易额 static String bankname; private String username; private String password; private double yue; private double jiaoyie...原创 2019-12-31 18:51:49 · 196 阅读 · 0 评论 -
Java - 面向对象练习 - market
Marketpackage market;public class Market { private String marname; private Product[] productarr; public Product[] getProductarr() { return productarr; } public String ...原创 2019-12-31 18:50:14 · 476 阅读 · 0 评论 -
Java - 基础代码
package base;public class base01 { public static void main(String[] args) { System.out.println("hello"); }}package base;public class base02 { public static void main(Strin...原创 2019-12-27 16:26:25 · 497 阅读 · 0 评论