- 浏览: 57882 次
- 性别:
- 来自: 北京
最新评论
-
zeyuphoenix:
问题14:
对于emp中同一部门低于自己工资至少3人的员工,列 ...
SQL面试题(十) -
zeyuphoenix:
问题13:
对于emp中低于自己工资至少5人的员工,列出其部门 ...
SQL面试题(十) -
zeyuphoenix:
问题12:
对于emp中工资高于本部门平均水平,人数多与1人的 ...
SQL面试题(十) -
zeyuphoenix:
问题11:
对于emp,列出各个部门中平均工资高于本部门平均水 ...
SQL面试题(十) -
zeyuphoenix:
问题10:
对于工资高于本部门平均水平的员工,列出部门号,姓名 ...
SQL面试题(十)
文章列表
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-08 20:36
- 浏览 410
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-07 23:19
- 浏览 561
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-07 22:54
- 浏览 292
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-06 22:24
- 浏览 487
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-06 22:08
- 浏览 472
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-06 22:03
- 浏览 742
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-06 21:40
- 浏览 384
- 评论(0)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microso ...
- 2010-04-06 21:28
- 浏览 346
- 评论(0)
读文件:
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.RandomAccessFile;
import java.io.Reader;
/**
* Reader和Writer两个类,这两 ...
- 2009-10-19 16:57
- 浏览 1050
- 评论(0)
/**
* 一个自定义对象,比较用
*/
public class User {
private String id;
private int age;
public User(String id, int age) {
this.id = id;
this.age = age;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getId() {
re ...
- 2009-10-19 16:47
- 浏览 801
- 评论(0)
测试输出:
public class StringBufferTest {
private void method(StringBuffer a, StringBuffer b) {
a.append(b);
b = a;
}
public static void main(String[] args) {
StringBufferTest test = new StringBufferTest();
StringBuffer x = new StringBuffer("A");
StringBuffer y = new ...
- 2009-10-19 16:21
- 浏览 691
- 评论(0)
测试输出
public class FCTest {
public static void main(String[] args) {
new B();
new B("b");
}
}
class A {
public A() {
System.out.println("A()");
}
public A(String s) {
System.out.println("A(String)");
}
}
class B extends A {
public ...
- 2009-10-19 16:17
- 浏览 702
- 评论(0)
测试输出
public class TestOverride {
public static void main(String[] args) {
new D();
}
}
class E {
int x = dd();
int y = cc();
public int dd() {
System.out.println("父类普通方法");
return 1;
}
public static int cc() {
System.out.println("父类static方法");
...
- 2009-10-19 16:16
- 浏览 790
- 评论(0)
// 用户自己开发一个学生类,包括姓名\学号\成绩 三个属性,现在用户希望能使用// java.util.Arrays.sort()方法来根据学员成绩,排序一个学生类数组,请问要如何实现?//主要是要想到用Comparator来实现,熟悉api是关键
import java.util.Arrays;
import java.util.Comparator;
/**
* The Class SortStudent.
*/
public class SortStudent {
private static Student[] students = null;
/* ...
- 2009-10-19 15:45
- 浏览 814
- 评论(0)
// 实现replace函数,不要使用字符串搜索替换函数。
public class Replace {
public static void main(String[] args) {
String info = "system runs";
System.out.println(replace(info, "st", "$$"));
}
public static String replace(String source, String toReplace, String replace) {
...
- 2009-10-19 15:38
- 浏览 973
- 评论(0)