摘要:
-- 查询学生的最高分和最低分,并统计所以学生的最高分和最低分;SELECT sno,MAX(grade),MIN(grade) FROM sc GROUP BY sno WITH ROLLUP; with rollup:该查询的最后结果出现在最后一行,并且统计了最后一行做了作为总算; (这是在我自 阅读全文
摘要:
package com.changyou; import java.util.concurrent.*; public class CountDown { public CountDown(int limitSec) throws InterruptedException{ System.out.println("Count from "+limitS... 阅读全文
摘要:
1 package com.bacasj; 2 3 public class Selectsort { 4 5 public static void main(String[] args) { 6 int[] arr = {99,2,3,5,1,56,6}; 7 for(int i = 0;iarr[j]){ 10 ... 阅读全文
摘要:
1 package com.dengbao; 2 3 public class DemoPerson { 4 5 public static void main(String[] args) { 6 Person student=new Student("旺财",3, 90.5f); 7 Person worker=new Woker("... 阅读全文
摘要:
1 package com.dengbao; 2 3 public abstract class A { 4 private String name; 5 public A(String name) { 6 this.name=name; 7 } 8 public void A(String name2) { 9 } 1... 阅读全文
摘要:
1 package com.baidu; 2 public class TestSimpleCircle { 3 public static void main(String[] args) { 4 SimpleCircle circle1 = new SimpleCircle(); 5 System.out.println("The a... 阅读全文
摘要:
1 package com.dengbaobao; 2 public class Barry$June_person { 3 public static void main(String args[]) { 4 new Person(); 5 new Person(); 6 new Person(); 7 ... 阅读全文
摘要:
1 package com.baidu; 2 import java.util.Scanner; 3 public class SubtractionzLoop { 4 public static void main(String[] args) { 5 final int NUMBER_OF_QU 阅读全文
摘要:
1 package com.duixiangninth; 2 3 import java.security.Permission; 4 5 public class DemoPerson { 6 7 public int id; 8 public String name; 9 public int age; 10 public Stri... 阅读全文