2007年9月28日 星期五

Lab String Processing


Lab 9-28-2007 Simple Calculation


Homework 9/21/2007

1. Explain bytecode, JVMAns : byte-code : The programs are first translated into an small ,easy-to-write and inexpensive language .This is a intermediate language .Program translated this intermediate language into the machine language for a particular appliance or computer .This intermediate language is call Java byte-code or byte-code. Java ↓ compile Byte-code ↓ interpreter Microprocessor JVM : A Java virtual machine or JVM is a virtual machine that runs Java byte code. This code is most often generated by Java language compilers, although the JVM has also been targeted by compilers of other languages.2. Explain class, objectAns:A Java program is divided into smaller parts called classes. Class is placed in a file of the same name, except that the ending is changed from java to class. Object-oriented programming has its own specialized terminology. The objects are called, appropriately enough, objects. The actions that an object can take are called methods. Objects of the same kind are said to have the same type or, more often are said to be in the same class. class(類別) → 1.Methods:(actions動作) 2.Property:(屬性 ) ↓objects(物件) 3. Reading Assignments:Read 1.1, 1.2, 1.3 of Textbook 4.1 Write a Java program as follows:
Let i=2; Print i; Print 2 * (i++); Print i;
Ans: 2, 4, 3 4.2 Write a Java program as follows: Let i=2; Print i; Print 2 * (++i); Print i; Ans: 2, 6, 3 4.3 Write a Java program as follows: Let m=7, n=2; Print (double) m/n; Print m/ (double)n; Ans: 3.5, 3.5


2007年9月21日 星期五

Lab2


Lab Get familiar with JBuilder


Homework 9/14/2007

1. Watch The Inside Story (Video), write your words on the development and inventor of Java java是個很突破的想法.可以應用很很廣的層面 2. List at least 5 applications of Java. You must provide the references you used. We recommend Google Search engine 電子政務、. 電子商務、遠程醫療、遠程教學、科學研究

2007年9月14日 星期五

firefox


自我介紹.....

我叫劉緯宏.目前是電子四乙 .
興趣是跳舞...
平時有練舞的習慣
哇哈哈