SlideServe
Menu
Preferences
© SlideServe · v2026

Java Programming with Java

albert avatar
18 slides · 493 Views · 180 likes · Jan 27, 2012

????????????????????????????? Java. Text Editor ???? Java Development ToolNotepad, EditPlus, Crimson, J-Lab

Java Programming with Java - slide 1
01 / 18Java Programming with Java
1 / 17

Download Presentation

Java Programming with Java
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

More Related Content

Presentation Transcript

    1. ??????????????????????? Java (Programming with Java) ??????????????? ?????? ??????????????????? (?????????????????) ?????????????????????????? ???????????????????????

    2. ????????????????????????????? Java Text Editor ???? Java Development Tool Notepad, EditPlus, Crimson, J-Lab … NetBeans, Eclipes … Java JDK (Java Development Kit) Java Compiler Java Runtime Environment (JRE) Java Virtual Machine (JVM)

    3. ????????????????????????????? Java

    4. ????????????????????????????? Java

    5. Hello World ??????????????????????????? Hello World class firstProgram /* ??????? class */ { public static void main(String[] args) /* ??????????????? class */ { System.out.println(“Hello World!"); /* ???????????????????????????????? */ } }

    6. ????????????????? Java ???????????????????????? ??????????????????????????????????????????????? ???? String Grade; double score = 0; int num; ???????????????????????? $... ???? _... ???? float $GAP; String _name = “Chaiyanan”; ?????????????????????????????????????????????? ??????????????????????????? ?????????????????????????? +, -, *, / ??? %

    7. ????????????????? Java ???????????????????????? (???) ?????????????????????????

    8. ????????????? Java ????????????????????????

    9. ????????????????????????????? ????????????????????? <?????????????> ?????????????; /*????*/ <?????????????> ????????????? = ????????????????????; ???????? int count; double price; boolean paid = true; price = 1200;

    10. ????????????????????????????? ??????????????????????? <?????????????> ????????????? = ????????????????????; /*????*/ <?????????????> ?????????????; ????????????? = ????????????????????; ???????? boolean b1 = true; int a = 5; int b = 10; int sum = a+b; float f; f = 3.141f;

    11. ????????????????????? ??????????????????????????? ?? ??? ?????? EX ?????????????? 2 ????????????? ?? ??? ????????????????????

    12. ????????????????????? ??????????????????????????? ?? ??? ?????? EX (???)

    13. ????????????????????? LAB01 ??????? flow chart ?????????????????????????????????????????? 1 ??????? 2 ??????? 30 ???? 3 ??????? 59 ???? LAB02 ??????? flow chart ???????????????????????????????????????????????????? 5 ????? 3.7 ????? 325.399 ?????

    14. ????????????????????? LAB03 ??????? flow chart ????????????????????????????????? (VAT 7%) ??????????????? ???????? 3 ???? ????????????? VAT ???????????? 19900 ??? ??????????????? 18900 ??? ?????????????????? 7990 ??? ????????????????????????????????? 3 ???? ???????????????????????????????????????? 3 ???? (????????????????????????????? ?????? final double VAT_RATE = 0.07)

    15. ????????????????????? LAB04 ??????? flow chart ??????????????????????????????????????????????????????????????????????????? 450 ???????? ?????? ?????? 1 ????????? 28 ???? ??????? 5 ??????? 15 ???? ?????? 2 ????????? 35 ???? ??????? 4 ??????? 40 ???? ?????? 3 ????????? 25 ???? ??????? 5 ??????? 37 ???? ???????????????????????????????? ???????????????????????????????

    16. ???????????????????? < ?????????????????????????? 5 < 10 > ????????????????????????? 10 > 5 <= ????????????????????????????????? 10 <= 10 >= ???????????????????????????????????? 10 >= 10 == ?????????????????????(???????)??? “a” == “a” != ???????????????????????????? 5 != 10

    17. ????????????????????????? ?????????? Scanner ???????????????? Scanner ???? import ?????????????? import java.util.Scanner; Class InPut { Scanner input = new Scanner(System.in); int a; a = input.nextInt() . . }

    18. ?????????????????????????

    19. ?????????? Java