2017年7月13日

摘要: package Text; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class IO { public static void main(String[] args) throws ... 阅读全文
posted @ 2017-07-13 21:26 loyer 阅读(158) 评论(0) 推荐(0)
 
摘要: package Demo; public class 杨辉三角 { public static void main(String[] args) { int[][] i = new int[10][]; //定义行 输出10行 for(int m=0;m y) //判定x,y的大小 如果x>y,... 阅读全文
posted @ 2017-07-13 21:24 loyer 阅读(113) 评论(0) 推荐(0)
 
摘要: package com.loyer.java.day3; public class Person //主类 创建一个父类 { static void prt(String s) //父类里的主方法 { System.out.println(s); } Person() //父类里默认无参的构造方法 ... 阅读全文
posted @ 2017-07-13 21:18 loyer 阅读(220) 评论(0) 推荐(0)
 
摘要: 找出EMP表select * from EMP;--选择在部门30中员工的所有信息select * from emp where deptno = 30;--列出职位为MARTIN的员工的编号,姓名select empno,ename from emp where job = 'MANAGER';- 阅读全文
posted @ 2017-07-13 20:13 loyer 阅读(308) 评论(0) 推荐(0)