摘要:
public class Bill { private Integer id; private String billCode; private String productName; private String productDesc; private String productUnit; p 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <m 阅读全文
摘要:
public class FormatDateUtil { public FormatDateUtil() { } // 设置日期格式 static public String formatDateTime() { // 获取当前时间 Date date = new Date(); // DateFormat... 阅读全文
摘要:
INSERT INTO student VALUES( 901,'张老大', '男',1985,'计算机系', '北京市海淀区'); INSERT INTO student VALUES( 902,'张老二', '男',1986,'中文系', '北京市昌平区'); INSERT INTO student VALUES( 903,'张三', '女',1990,'中文系', '湖南省永州市'); IN 阅读全文
摘要:
package DEMO01; import java.text.SimpleDateFormat; import java.util.Date; public class Demo5 { public static void main(String[] args) { while (true){ Date date = new Date(); SimpleDateFormat sdf = new 阅读全文
摘要:
阅读全文
摘要:
package DEMO01; import java.util.Scanner; public class Demo2 { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { System.out.println("输入字符串"); String str=sc.next(); S 阅读全文
摘要:
package DEMO01; import java.util.Scanner; public class Demo1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一句话,如果包含wqnmlgb,ndy,dsb等字符,将会被和谐"); 阅读全文
摘要:
package day01; public class VIPThread implements Runnable{ @Override public void run() { for(int i = 0;i<10;i++) { String name = Thread.currentThread().getName(); ... 阅读全文
摘要:
package Zuoye; public class User implements Runnable{ private int time; private int num = 10; public User (int time) { this.time= time; } @Override public void run()... 阅读全文