Jbuilder???????????????? - PowerPoint PPT Presentation

About This Presentation
Title:

Jbuilder????????????????

Description:

JBuilder Java ... PowerPoint ... Created Date: 4/7/2001 11:41:52 AM Document presentation format: ... – PowerPoint PPT presentation

Number of Views:57
Avg rating:3.0/5.0
Slides: 29
Provided by: macc163
Category:

less

Transcript and Presenter's Notes

Title: Jbuilder????????????????


1
?????? ???????
  • ?2?
  • ????????

2
?????
  • ?????????
  • ?????
  • ????
  • ????
  • ???????
  • Jbuilder????????????????
  • ???????????
  • ??

3
?????????
  • ??????????????
  • ????????????????????
  • ??????????????

4
?????(1) ????
  • ?????????????????????????

public static void main for(int
i0ilt10i)
5
?????(2)
  • ????????????????????????(Tab1?,???space2??)

public static void main for(int
i0ilt10i)
????????? ?????? ????
6
????(1)
/ ????????? ???00.5.3 (1bcB???????) /
import Turtle class House01 extends Turtle
/ ???? / void
start() // ?????
rt(30) // ???(????????????)
int i for(i1 ilt3 i)
fd(100) rt(120) //
?????????
rt(60) // ???(????????????)
// ?????
for(i1 ilt4 i)
fd(100) rt(90) // ?????????

???????
????????
?????
7
????(2)
  • ??????????????

double x // x??????? double y //
x???????(x??????) if((x - Math.floor(x)) lt 0.5)
y Math.floor(x) // (0.5??)x?
// ????y??? else if((x -
Math.floor(x)) gt 0.5) y Math.floor(x) 1
// (0.5??)x? //
???1?y???
double x // x??????? double y //
x?????0.5???? if((x - Math.floor(x)) lt 0.5) y
Math.floor(x) // x????? //
y??? else if((x - Math.floor(x)) gt 0.5) y
Math.floor(x) 1 // x????1?
// y???
8
????
  • Java???????????????
  • ????
  • ?????????????(??????????????????????????????????)
  • ex) String,StringBuffer,House,MyHouse
  • ?????????
  • ?????????????
  • ex) name,myName,move(),getString()

9
???????
  • ??
  • ????
  • ????

10
??
S1 S2 . . . Sm
S1
S2
Sm
11
????
no
while(C) S
C
yes
S
12
????
if(C) S1 else S2
no
C
yes
S1
S2
13
???????
14
Jbuilder????????????????
  • ?????????
  • ????????????
  • ?????????
  • ????????????
  • ??????????????
  • ??????

15
?????????
  • exe???????????????????????????
  • ??????????????????????????????????????????????

16
????????????
  • ?????????
  • JBuilder?Java?????????????????
  • ????????????????????(???????(.java)????????(.class
    )???????????)??????????????????
  • JBuilder????Java???????????????????????????

17
?????????
  • ??????
  • Java????????????
  • Java?????????????????????
  • ?????????????????????

???
???
???
???
?????
?????
18
????????????(1)
  • main?????!
  • main()??????Java????????????????????????????????

???
main
???
???
?????
19
????????????(2)
  • ????????????

public class MyProgram1 public static void
main(String args)?main????
System.out.println(????????????)
20
??????????(1)
  • System.out.println???????System???????.??????????
    ?????????
  • System???????????????????????????!

21
??????????(2)
  • ????println()?????????????????!??()???????????????
    ????????

22
???????
  • JBuilder?????????????????????
  • ?????????????
  • ?????
  • ??
  • ?????????????
  • ????????????main????????????????

23
while????????
System.out.println(????????????)
//????10???? int i0 while(i lt 10)
System.out.println(????????) i//i i
1?????
24
???????????
  • ??????????????????????????????
  • ?????????????????????????
  • ??????????????????????
  • ??????????????

25
BreakPoint
  • ??????????????????????????????????????????????????
    ???????????BreakPoint?????????????????????

26
????????
  • ????????
  • ??????????????????????????????
  • ??????
  • ?????????????????????????????
  • ???????
  • ??????????????????????

27
??(1)1bc???
  • ??????while????????for???????????
  • ????????????????

28
????
  • ???macchan_at_crew.sfc.keio.ac.jp
  • Subject??objprog02?????????
  • ??4/18(?)??

???????????? ??? ??
Write a Comment
User Comments (0)
About PowerShow.com