Lecture0 by Tony - Koo
Lecture0 by Tony - Koo
Tony.Koo
Personal Statement
Name: Tony.D.K.Koo( 古东魁 )
Degree: MSC in CS
Issued By: Hong Kong University
Class of: 2006
Major: Search Engine
Natural Language Processing
Arduino DIYer
Contact:
Cell: 13823308961
WeChat:18410840
Email:[email protected]
Introduction
About APCS A
Why Java?
What is OOP?
About APCS A
The fundanmental of programming and
problem solving using Java language.
Admission Credit
1. Programming using Java Credit
A subset of Java is required for the Exam but topics other than
the subset will be taught in the class in order to develop the Java
programming skill of sovling real world problem
3. Software Engineering
2 Quantity: 40
1 Score: 40 Points
F r e e Re s p o n s e Q u e s t i o n s
Time: 90 mins
Quantity: 4
Score: 36 Points
Beginner Friendliness--easy to
knock the top dog
Maturity
OOP
Lots of support document
WORA
Huge standard libraries
Criticism:
Big community Performance
etc.
What is OOP?
• OOP, Object Oreinted Programming
Download JDK
http://www.oracle.com/
technetwork/java/javas Environment Setting
e/downloads Check it
Step1:Find the environment variable
setting; Open cmd.exe ;
Step2:Add your path(ie. c:\Program Type java --version and
Setup JDK
File\Java\jdk-11.0.x\bin;c:\Program Enter in command line
setup in default path is
File\Java\jdk-11.0.x\jre\bin)
ok;
in Path variable;
mark down the path for Step3:Add your classpath(ie. c:\
further setting Program File\Java\jdk-11.0.x\lib)
(ie. c:\Program File\Java\ in ClassPath variable
Environment Setting
Choosing
Setting Path
JDK Setting
Tells the OS
32-bits java C L A S S PAT H
where to find
ver sion is not java & javac Tells JVM
offered since which are where to find
Java 9 needed when
the .class
compiling and
files
running java
program
Setup IDE for programming --- Lab2
Download Eclipse
h t t p s : / / w w w. e c l i p s e . o r g / d o w n l o a d s /
Setting JREs
Eclipse-->Window-->Preferences-->Installed
JREs-->Add-->Proceed to the path of your jre--
>Finish
Hello World!
Step1:File-->Java Project-->”HelloWorld”-->Finish
Step2:Open HelloWorld fold(double kick)-->Select
src-- >new(right kick)-->class-->HelloWorld
Your first try--Hello World! --- Lab3
• public class HelloWorld { A Class name, the file in which this program
is saved must have the same name
• public static void main(String[] args){B The method from where every
program begins
• System.out.println("Hello World!");
C Output the content in the
parentheses to console
• }
•}
Textbook