摘要:
public class staticTest { //静态属性 static int j; static int s=80; int i; int k=55; /* * 静态代码块 */ static{ j=5; System.out.println("j的初始值为:"+j); } //普通方法 阅读全文
摘要:
public class Person { String name="无名";//昵称 String sex="man";//姓别 /** * 无参构造方法 */ public Person() { name="山姆"; sex="男"; System.out.println("执行构造方法"); 阅读全文
摘要:
/*最新外卖显示*/SELECT*FROM orders ORDER BY OrderDate DESC LIMIT 3;SELECT OrederID FROM orders ORDER BY OrderDate DESC LIMIT 3SELECT OrederID FROM (SELECT O 阅读全文
摘要:
/* Navicat Premium Data Transfer Source Server : localhost_3306 Source Server Type : MySQL Source Server Version : 50725 Source Host : localhost:3306 阅读全文