`
yuanyao
  • 浏览: 145227 次
  • 性别: Icon_minigender_1
  • 来自: 就那小山沟
社区版块
存档分类
最新评论
文章列表

压缩指令

压缩指令 后缀名 *.Z compress程序压缩文件 *.bz2 bzip2程序压缩文件 *.gz gzip程序压缩文件 *.tar tar程序压缩文件 *.tat.gz tar程序打包的文件,且经过gzip压缩 compress 语法: [root @root /root]# compress [-d] filename 参数说明: -d : 解压缩参数 uncomp ...
           命令重定向: 在Bash命令执行中,除了有>符号,还有3种输出输入状况,分别是: 1 标准输入: 代码为0,或称为stdin,使用方式为< 2 标准输出: 代码为1,或称为stdout,使用方式为1> 3 错误输出: 代码为2,或称为stderr,使用方式 ...
  最近闲的很,想和哥们搞点东西(Java),不知道做点什么....大家伙给点建议啊...
  也不知道JE里的哥们,姐们没事的时候都干啥,昨天疯狂的逛网页的时候,看到了这个题目“一首洗脱人们灵魂最深处的完美音符《帕卡贝尔的卡农变奏曲》”,就打开了连接。也许是这几天事情多,忙的不得了,闭上眼睛,倾听这首钢琴曲,Wooooooooooo!感觉好极了,好轻松,轻飘飘的....随着钢琴声的消失,身上的疲倦也跑掉了,心情也仿佛好起来了...    下面是这首钢琴曲的连接,花上6分钟听一听,让疲惫的身心放松一下.....    ps:闭上眼睛,享受这美妙的音乐... http://v.youku.com/v_show/id_XMzcwNDk5NTY=.html
1public class A{ 2 private int counter = 0; 3 4 public static int getInstanceCount(){ 5 return counter; 6 } 7 8 public A(){ 9 counter++; 10 } 11} Given this code from class B: 25 A a1 = new A(); 26 A a2 = new A(); 27 A a3 = new A(); 28 System.out.println(A.getInstanceCount()) ...
   今天是 my birthday,天气不错,先祝自己生日快乐.....    一年马上要收尾了,最后的时刻就是最累的时候,什么事情都有...放马过来吧,老子准备好了.    对了,过生日要许愿望啊...咱也不例外...    NO.1       3号去上海考试,希望考试顺利,玩的开心点,好好的放松一下....    NO.2       新的一年开始了,希望明年的进步比今年还要大(今年真是学了不少东西,嘿嘿...)      NO.3       找个时间好好的把算法导论整一遍(都买了快一年多了,才看了四分之一)...    就这么多了,吃饭去喽......
10 public class Hello{ 11 String title; 12 int value; 13 public Hello(){ 14 title += " world"; 15 } 16 public Hello(int value){ 17 this.value = value; 18 title = "Hello"; 19 Hello(); 20 } 21 } And: 30 Hello c = new Hello(5); 31 System.out.println(c.t ...
/** * * @author yaoyuan */ 10 package com.sun.scjp; 11 public class Geodetics{ 12 public static final double DIAMETER = 12756.32; //kilometers 13 } Which two correctly access the DIAMETER member of the Geodetics class?(choose two) A import com.sun.scjp.Geodetics; public class Terra ...
/** * * @author yaoyuan */ 1 import java.util.*; 2 public class TestSet{ 3 enum Example{ONE,TWO,THREE} 4 public static void main(String[] args){ 5 Collection coll = new ArrayList(); 6 coll.add(Example.Three); 7 coll.add(Example.Three); 8 coll.add(Example.Three); 9 ...
小弟过几天要去上海一趟(逛逛+考试),不知道上海有什么好玩的地方,比较大一点的书城.... 各位的朋友介绍一下......
Place the correct Code in the Code Sample to achieve the expected results. Expected results: Output :1 2 4 8 16 32 Code Sample int[] y = {1,2,4,8,16,32}; System.out.print("Output:"); [place here] System.out.print(x); System.out.print(""); } Code [for(int x: ...
/** * * @author yaoyuan */ 11 public static void test(String str){ 12 if(str == null | str.length() ==){ 13 System.out.println("String is empty"); 14 }else{ 15 System.out.println("String is not empty"); 16 } 17 } And the invocation: 31 test(null); what is t ...
/** * * @author yaoyuan */ 11 public static int sum(List list){ 12 int sum = 0; 13 for(Iterator iter = list.iterator();iter.hasNext();){ 14 int I = ((Integer)iter.next()).intValue(); 15 sun += I; 16 } 17 return sum; 18 } /** *Which three changes must be made to the method sum ...
/** * * @author yaoyuan */ public class A{ public void method1(){ B b = new B(); b.method2(); 5 //more code here } } public class B{ public void method2(){ C c = new C(); c.method3(); 5 //more code here } } public class C{ public void method3(){ //more cod ...
/** * * @author yaoyuan */ public class CertKiller{ int x = 12; public void method(int x){ x += x; System.out.println(x); } } Given the exhibit: 21 test t= new CertKiller(); 22 t.method(5); /** *What is the ouput from line 5 of the CertKiller class? * * *A 5 *B 10 *C 1 ...
Global site tag (gtag.js) - Google Analytics