abdullah's picture
Add files using upload-large-folder tool
4b3edc0 verified
raw
history blame
57.5 kB
1
00:00:05,650 --> 00:00:09,650
ุทุจ ูŠุง ุฌู…ุงุนุฉ ุงู„ุณู„ุงู… ุนู„ูŠูƒู… ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ู‡ู†ูƒู…ู„
2
00:00:09,650 --> 00:00:13,290
ุจู…ูˆุถูˆุน ุงู„ object oriented programming ุจู…ุซุงู„ ุชุงู†ูŠ
3
00:00:13,290 --> 00:00:17,250
ููŠ ุงู„ุจุฏุงูŠุฉ ู‡ู†ุงุฎุฏ ู…ุซุงู„ ุขุฎุฑ ู…ุด ู‡ูŠูƒูˆู† ููŠู‡ ุฃุดูŠ ุฌุฏูŠุฏ
4
00:00:17,250 --> 00:00:21,550
ูู‚ุท ุชู…ุฑูŠู† ุนู„ู‰ ุฅู†ุดุงุก ุงู„ classes ูˆ ุงู„ methods ุงุญู†ุง
5
00:00:21,550 --> 00:00:23,890
ุงู„ุชุนู…ู‚ .. ูŠุนู†ูŠ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู…ุงุถูŠุฉ ุฃุฎุฏู†ุง ุฃู…ุซู„ ุนู„ู‰ ุงู„
6
00:00:23,890 --> 00:00:29,550
methods ุฃุญู†ุง ุดูู†ุง methods ู…ู…ูƒู† ู†ุชุฑุฌุน ู‚ูŠู… ู…ู…ูƒู†
7
00:00:29,550 --> 00:00:36,740
ู…ุงุชุฑุฌุนุด ุตุญุŸ ูŠุนู†ูŠ ู…ุซู„ุง ุดูู†ุง ุงู„ ..ู„ู„ุทุงู„ุจ ู…ุซู„ุง method
8
00:00:36,740 --> 00:00:41,200
ุชุทุจุน ุงู„ุชู‚ุฑูŠุฑ ุชุจุนู‡ ู‡ุฐู‡ method ุจุชุฑุฌุญุงุด ุญุงุฌุฉุŒ ูƒุงู†ุช
9
00:00:41,200 --> 00:00:47,020
ุชุฑุฌุญ void ุตุญ ูˆู„ุงุŸ ุจุนุฏูŠู† ุนู…ู„ู†ุง method ุชุงู†ูŠุฉ ูƒุงู†ุช
10
00:00:47,020 --> 00:00:53,990
ุชุฑุฌุญ ู‡ู„ ุงู„ุทุงู„ุจ ู…ุซู„ุง ู‚ุฏุด ู†ุณุจุฉ ุงู„ู…ู†ุญ ุงู„ู„ูŠ ุจูŠุณุชุญู‚ุตุญุŸ
11
00:00:53,990 --> 00:00:58,850
ูƒู†ุง ุฌูˆุง ุงู„ method ุงู† ู†ูุญุต ุจุนุถ ุงู„ุฃู…ูˆุฑ ุฒูŠ ู…ุซู„ุง ุฌุฏุด
12
00:00:58,850 --> 00:01:02,830
ู…ุนุฏู„ู‡ุŒ ุฌุฏุด ุนู„ูŠู‡ ุฏูŠูˆู† ูˆ ุจู†ู‚ู„ ุนู„ูŠู‡ุง ุงู„ุญุฏ ู†ุณุจุฉ ุงู„ู…ู†ุญ
13
00:01:02,830 --> 00:01:08,630
ุงู„ู„ูŠ ุจุงุฎุฏู‡ ู‡ุฐู‡ ุงู„ method ุจุชุฑุฌุน ู‚ูŠู…ุฉ ุตุญุŸ ุงู„ู„ูŠ ู‡ูŠ
14
00:01:08,630 --> 00:01:12,670
ู†ุณุจุฉ ุงู„ู…ู†ุญ ุดูˆูู†ุง ูƒู…ุงู† ููŠ ุฃุฎุฑ ุงู„ู…ุญุงุถุฑุฉ method ุงู†
15
00:01:12,670 --> 00:01:16,150
ุงู†ุง ู…ู…ูƒู† ุงุจุนุชู„ู‡ุง ู‚ูŠู…ุฉ ุทุจุนุง ุงู†ุง ุงู…ุชู‰ ุจุงุจุนุชู„ ุงู„
16
00:01:16,150 --> 00:01:18,450
method ู‚ูŠู…ุฉุŸ ู„ุฃ ุงู†ุง ุงู„ method ุจุชู‚ุฏุฑุด ุชุดุบู„ ุงู„ู‰ ู…ุง
17
00:01:18,450 --> 00:01:22,830
ุชุญุชุงุฌ ู…ุนู„ูˆู…ุฉ ุฎุงุฑุฌูŠุฉุฅุฐุง ุงู„ู€ method ูู‚ุท ุจุชุญุชุงุฌ ุงู„
18
00:01:22,830 --> 00:01:26,810
attributes ุจุชุงุนุฉ ุงู„ object ู…ุด ู…ุญุชุงุฌ ุฃู…ุฑุฑู‡ุง ุดูŠุก
19
00:01:26,810 --> 00:01:30,790
ุชุงู†ูŠ ู…ู† ุจุฑุง ูŠุนู†ูŠ ู…ุซู„ุง ู…ุซู„ ุงู„ substring ู‡ูŠ ุจุชุดุชุบู„
20
00:01:30,790 --> 00:01:33,610
ุนู„ู‰ ุงู„ character ุจุชุงุนุฉ ุงู„ string ู„ูƒู† ู‡ูŠ ู…ุญุชุงุฌุฉ ู…ู†ูŠ
21
00:01:33,610 --> 00:01:39,950
ู…ุนู„ูˆู…ุงุช ุฃุญุฏุฏู‡ุง ุฃู†ุง ุฒูŠ ุฅูŠุด ุงู„ู„ูŠ ู‡ูˆ ู…ู† ูˆูŠู† ู„ูˆูŠู† ุฃู‚ุทุน
22
00:01:39,950 --> 00:01:45,610
ููŠ ุงู„ string ุงู„ุขู† ุฎู„ูŠู†ุง ู†ุดูˆู ู…ุซุงู„ ุชุงู†ูŠู„ุฃู† ุฃู†ุช
23
00:01:45,610 --> 00:01:49,290
ู…ุซู„ุงู‹ ุจุฏูƒ ุชุนู…ู„ ุจุฑู†ุงู…ุฌ ู„ุฅุฏุงุฑุฉ ุดุคูˆู† ุงู„ู…ูˆุธููŠู† ููŠ ุดุฑูƒุฉ
24
00:01:49,290 --> 00:01:54,110
ุฃูˆ ู…ุคุณุณุฉ ุฅูŠู‡ ุงู„ู…ูˆุธู ูˆุงู„ุฑูˆุงุชุจ ูˆุงู„ุฃู…ูˆุฑ ุฏูŠ ูƒู„ู‡ุง ู„ุฃู†
25
00:01:54,110 --> 00:01:56,750
ุฃูƒูŠุฏ ุฃู†ุช ู„ู…ุง ุชุฌูŠ ุชููƒุฑ ููŠ ุจุฑู†ุงู…ุฌ ุฒูŠ ู‡ูŠูƒ ู‡ุชู‚ูˆู„ ูˆุงู„ู„ู‡
26
00:01:56,750 --> 00:02:00,710
ุฃู†ุง ุจุชุนุงู…ู„ ู…ุน ู…ูˆุธููŠู† ูŠุจู‚ู‰ ูƒู„ ู…ูˆุธู ุฅู„ู‡ ุจูŠุงู†ุงุช ุงุณู…
27
00:02:00,710 --> 00:02:04,350
ุงู„ู…ูˆุธู ูˆุฑู‚ู…ู‡ ูˆุนู…ุฑู‡ ูˆุนุฏุฏ ุงู„ุฃุทูุงู„ ุงู„ู„ูŠ ุนู†ุฏู‡ ูˆุฏุฑุฌุฉ
28
00:02:04,350 --> 00:02:07,670
ุงู„ูˆุธูŠููŠุฉ ูˆุงู„ุฑุงุชุจ ุงู„ุฃุณุงุณูŠ ูˆู‡ู„ ุนู†ุฏู‡ ุชุฃู…ูŠู† ุตุญ ูˆู„ุง ู„ุฃ
29
00:02:07,670 --> 00:02:11,370
ุชู…ุงู… ูƒู„ ู‡ุฐู‡ ุจูŠุงู†ุงุช ู„ู„ู…ูˆุธููŠู† ูุจุชู„ุงู‚ูŠ ุงู„ู…ูˆุธู ุงู„ูˆุงุญุฏ
30
00:02:11,370 --> 00:02:16,630
ุฅู„ู‡ ู…ุฌู…ูˆุนุฉ ุจูŠุงู†ุงุช ู…ุฎุชู„ูุฉ ูุนุทูˆู„ ุจุชููƒุฑ ุฅูŠุดู…ุงุฐุง ู†ููƒุฑ
31
00:02:16,630 --> 00:02:22,330
ุนู†ุฏู…ุง ู†ุฌุฏ ุงู† ุงู„ู…ูˆุธู ุนู†ุฏู‡ ุจูŠุงู†ุงุช ู…ุฎุชู„ูุฉ ู†ุฌู…ุน ููŠู‡ุง
32
00:02:22,330 --> 00:02:26,290
ุจูŠุงู†ุงุช ุงู„ู…ูˆุธู ุงู„ูˆุงุญุฏ ู†ุถุบุท ูŠู…ูŠู† ูˆู†ู‚ูˆู„ ู„ู‡ class
33
00:02:26,290 --> 00:02:32,270
employee ูˆู†ุถุบุท
34
00:02:32,270 --> 00:02:36,150
ุงู„ attribute ุณุงุนุฉ ุงู„ู…ูˆุธู string id ุฑู‚ู… ุงู„ู…ูˆุธู
35
00:02:36,150 --> 00:02:41,310
string name integer
36
00:02:41,310 --> 00:02:50,700
age ุนู…ุฑ ุงู„ู…ูˆุธู floatbasic salary ุงู„ุฑุงุชุจ ุงู„ุฃุณุงุณูŠ
37
00:02:50,700 --> 00:02:58,000
ุงู†ุช degree ุงู„ู„ูŠ ู‡ูŠ ุงู„ุฏุฑุฌุฉ ุงู„ูˆุธูŠููŠุฉ ู…ุซู„ุง ุฏุฑุฌุฉ ูˆุงุญุฏ
38
00:02:58,000 --> 00:03:03,580
ุงุชู†ูŠู† ุชู„ุงุชุฉ ุงุฑุจุนุฉ ุฎู…ุณุฉ ูˆ ู‡ูƒุฐุง number
39
00:03:03,580 --> 00:03:08,820
of children ุงู„ุญุงู„ุฉ
40
00:03:08,820 --> 00:03:14,180
ุงู„ุงุฌุชู…ุงุนูŠุฉ ู…ุชุฒูˆุฌ ูˆู„ุง ู„ุฃ ุงูŠุด ุจู†ู…ุซู„ู‡ุง ุฏูŠ ุจูˆู„ูŠู†
41
00:03:15,560 --> 00:03:23,240
is married ู‡ู„ ู‡ูˆ ู…ุชุฒูˆุฌ ูˆ ู„ุง ู„ุฃ ุนู†ุฏู‡ ุชุฃู…ูŠู† ูˆ ู„ุง
42
00:03:23,240 --> 00:03:27,860
ู…ุงุนู†ุฏู‡ุด ุชุฃู…ูŠู† ุจุฑุถู‡ Boolean Boolean has insurance
43
00:03:27,860 --> 00:03:31,460
ุฎุตุงุฆุต
44
00:03:31,460 --> 00:03:35,500
ุชุงู†ูŠุฉ ูƒุชูŠุฑุฉ ู‡ุฐู‡ ุฌู…ุนุช ุงู†ุง ูƒู„ ุงู„ attributes ู„ู„ู…ูˆุธู
45
00:03:35,500 --> 00:03:40,120
ููŠ ู…ูƒุงู† ูˆุงุญุฏ ุนู„ุดุงู† ุงุณุชุฎุฏู… ุงู„ class ู‡ุฐู‡ ุจุฏูŠ ุฃู†ุดุท
46
00:03:40,120 --> 00:03:43,680
ุงู†ุง ุงูุชุญ ู…ู„ู ุฌุฏูŠุฏ ู„ู„ู…ูˆุธู ุงู„ู„ูŠ ุงุชูŠ ุนู†ุฏู‰ ุจุนุฏูŠู† ุจู‚ูˆู„ู‡
47
00:03:43,680 --> 00:03:52,450
employeeุณู…ูŠู‡ุง ู…ุซู„ุง ุงูŠุด E1 ูŠุณูˆู‰ new employee ุงู†ุดุฃู†ุง
48
00:03:52,450 --> 00:03:55,950
ุงู„ุขู† object ุฌุฏูŠุฏ ุจูƒู„ ุงู„ attributes ุจุชุงุนุชู‡ ู„ู†ุนุจูŠ
49
00:03:55,950 --> 00:04:01,850
ููŠู‡ ุจูŠุงู†ุงุช ูŠุง ุจุชุนุจูŠู‡ุง ู…ู† ุงู„ scanner E1 dot ููŠู‡
50
00:04:01,850 --> 00:04:05,330
ุนู†ุฏู†ุง ู†ูŠู… ู…ู…ูƒู† ุชู‚ุฑุฃ ุงู„ู†ูŠู… ู…ู† ุงู„ scanner ุงูˆ ู…ู…ูƒู†
51
00:04:05,330 --> 00:04:13,290
ุชุนุจูŠู‡ ุงูŠุด ู…ุจุงุดุฑุฉ E1 dot ID ุฑู‚ู… ุงู„ู…ูˆุธู
52
00:04:17,260 --> 00:04:26,160
e1.basic salary ู…ุซู„ุง ุงู„ู is
53
00:04:26,160 --> 00:04:33,400
married false ู…ุซู„ุง ู‡ุฐุง ุฃูŠุด ูƒู„ู‡ุง ุจูŠุงู†ุงุช ู…ูˆุธู ูˆุงุญุฏ
54
00:04:33,400 --> 00:04:36,460
ูˆู‡ุง
55
00:04:36,460 --> 00:04:39,040
ูƒุฐุง ูƒู„ ู…ุง ุจุฏูŠ ุฃู†ุดู‚ ู…ูˆุธู ุฌุฏูŠุฏ ุจู†ุดู‚ object ู…ู†
56
00:04:39,040 --> 00:04:43,580
employee ุทูŠุจ ู†ูŠุฌูŠ ุงู„ุฃู† ู„ูˆ ู‚ู„ุช ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ ุญุณุจุฉ
57
00:04:43,580 --> 00:04:44,440
ู„ุฑุงุชุจ ุงู„ู…ูˆุธู
58
00:04:47,220 --> 00:04:50,980
ุชู…ุงู…ุŸ ุงู„ุงู† ูˆุงุญุฏ ุจูŠู‚ูˆู„ ู‡ูŠ ููŠ ุนู†ุฏูƒ ุฑุงุชุจ ุงู„ู…ูˆุธู ู‡ุฐุง
59
00:04:50,980 --> 00:04:56,340
ุจู†ุณู…ูŠู‡ ุงุญู†ุง ุงู„ basic salary ู…ุซู„ุง ุงู„ุดุฑูƒุงุช ุทุจุนุง ูˆ
60
00:04:56,340 --> 00:04:59,520
ุงู„ู…ุคุณุณุงุช ุนู†ุฏู‡ุง ุทุฑูŠู‚ุฉ ู…ุนูŠู†ุฉ ู„ุญุณุจุฉ ู‡ูˆ ุงู„ุฑุงุชุจ ุงู„ุฃุณุงุณูŠ
61
00:04:59,520 --> 00:05:07,200
ุจุนุฏูŠู† ุจูŠุดูˆููˆุง ู…ุซู„ุง ุงูŠุด ุงู„ุฏุฑุฌุฉ ุงุฐุง ุฏุฑุฌุชู‡ ู…ุซู„ุง ูˆุงุญุฏ
62
00:05:07,200 --> 00:05:12,280
ุจุงู„ุฑุงุชุจ ุฒูŠ ู…ุง ู‡ูˆ ุฏุฑุฌุชู‡ ุงุชู†ูŠู† ุจูŠุฒูŠุฏ ุนู„ู‰ ุงู„ุฑุงุชุจ
63
00:05:12,280 --> 00:05:18,260
ุนู„ุงูˆุฉู…ุซู„ู‹ุง 10% ู…ู† ุงู„ุฑุงุชุจ ุจูŠุงุฎุฏู‡ุง ุฅุถุงูุฉ ุฏุฑุฌุชู‡ 3
64
00:05:18,260 --> 00:05:24,260
ุจูŠุงุฎุฏู‡ 20% 4 ู…ุซู„ู‹ุง 30% ูˆ ู‡ูƒุฐุง ู…ุซู„ู‹ุง ุจูŠุฌูŠ number of
65
00:05:24,260 --> 00:05:29,440
children ูŠุนู†ูŠ ุจูŠ .. ุงู„ุขู† ุงู„ู…ูˆุธููŠู† ู…ุซู„ู‹ุง ุนู„ู‰ ูƒู„ ุทูู„
66
00:05:29,440 --> 00:05:33,720
ุจูŠุงุฎุฏ ู…ุจู„ุบ ู…ุนูŠู† ุฒูŠุงุฏุฉ ุนู„ู‰ ุงู„ุฑุงุชุจ ุชุจู‚ู‰ ุงู„ุงู† is
67
00:05:33,720 --> 00:05:37,740
married ุจุฑุถู‡ ุฅุฐุง ู…ุชุฒูˆุฌ ุจุฑุถู‡ ุจูŠุงุฎุฏ ุฒูŠุงุฏุฉ ุนู„ู‰ ุงู„ุฑุงุชุจ
68
00:05:37,740 --> 00:05:42,420
ุงู„ุงู† ุฅุฐุง ุนู†ุฏู‡ ุชุฃู…ูŠู† ุจู†ุฎุตู‡ู… ููŠ ุงู„ุขุฎุฑ ู…ู† ุงู„ุฑุงุชุจ ู‚ูŠู…ุฉ
69
00:05:43,130 --> 00:05:45,850
ุงู„ุชุฃู…ูŠู† ุงู„ุดู‡ุฑูŠ ุงู„ู„ูŠ ุจุชุฏูุนู‡ ุชู…ุงู…ู‹ุงุŸ ู‡ุฐู‡ ูƒู„ู‡ุง ุญุณุจุฉ
70
00:05:45,850 --> 00:05:50,250
ู„ู„ุฑุงุชุจ ู„ุฃู† ุงุญู†ุง ู…ู…ูƒู† ู†ูŠุฌูŠ ู†ุญุณุจ ุงู„ุนู…ู„ูŠุฉ ู‡ุฐู‡ ู‡ู†ุง
71
00:05:50,250 --> 00:05:56,270
ูŠุนู†ูŠ ู…ู…ูƒู† ู†ู‚ูˆู„ ุนุดุงู† ู†ุญุณุจ ู…ุซู„ุง ู†ุนุฑู ุงู„ float ู†ู‚ูˆู„
72
00:05:56,270 --> 00:06:03,110
total salary ู‡ุฐุง ุฅูŠุดุŸ ุฑุงุชุจ ุงู„ู…ูˆุธู ุงู„ูƒู„ูŠ ู…ุจุฏุฃูŠู‹ุง
73
00:06:03,110 --> 00:06:08,870
ุฑุงุชุจ ุงู„ูƒู„ูŠ ุจูŠุจุฏุฃ ู…ู† ูˆูŠู†ุŸ ู…ู† ุงู„ basic salary ุจุนุฏูŠู†
74
00:06:08,870 --> 00:06:13,920
ุจุฏูŠ ุฃู‚ูˆู„ .. ุจุฏูŠ ุฃู‚ูˆู„ ู„ู‡ ifE1 dot is married ุฅูŠุด
75
00:06:13,920 --> 00:06:24,040
ูŠุนู†ูŠุŸ ุฅุฐุง ูƒุงู† ู…ุชุฒูˆุฌ ุทุจุนุง ุฑูˆุญ ู„ู„ total salary ุฒุงุฆุฏ
76
00:06:24,040 --> 00:06:28,820
ูŠุณุงูˆูŠ ู…ุซู„ุง ุนุดุฑูŠู† ุทุจุนุง
77
00:06:28,820 --> 00:06:37,080
ุทุจ ู„ุณู‡ ู…ุฎู„ุตู†ุงุด ุจุฏู‡ ุฃุดูˆู ุงู„ุขู† if ุฃูˆ ู…ู† ุบูŠุฑ ุญุชู‰ if
78
00:06:38,300 --> 00:06:44,840
ุทูŠุจ ู…ุงุดูŠ fe1 dot number of children ุนู†ุฏู‡ ูˆู„ุงุฏ ุฃูƒุจุฑ
79
00:06:44,840 --> 00:06:49,860
ู…ู† ุฃูˆ ูŠุณุงูˆูŠ ุตูุฑ ุฃูƒุจุฑ ู…ู† ุตูุฑ ุฅูŠุด ุจุฏู†ุง ู†ุนู…ู„ุŸ ุจุฏู†ุง
80
00:06:49,860 --> 00:06:57,300
ู†ุถูŠู ู…ุซู„ุง ุนู„ู‰ ูƒู„ ูˆู„ุงุฏ ุนุดุฑ ุฏู„ุงู†ูŠุฑ ู…ุงุดูŠุŸ ูˆุงุถุญ ูˆู„ุง
81
00:06:57,300 --> 00:06:59,520
ู„ุฃุŸ ุฅูŠุด ุจุฏูŠ ุฃุนู…ู„ุŸ ูุจุฏูŠ ุฃู‚ูˆู„ู‡ ุฅู† ุงู„ total salary
82
00:06:59,520 --> 00:07:00,940
ุฒุงุฆุฏ ูŠุณุงูˆูŠ
83
00:07:04,190 --> 00:07:09,910
E1 dot number of children ูˆ ุฃุถุฑุจ ููŠ ุฅูŠุด ููŠ ุนุดุฑุฉ
84
00:07:09,910 --> 00:07:12,650
ูŠุนู†ูŠ ู„ูˆ ุนู†ุฏู‡ ู…ุซู„ุง ุชู„ุช ุฃูˆู„ุงุฏ ู‡ูŠุถุฑุจ ููŠ ุนุดุฑุฉ ู‡ุชุตูŠุฑ
85
00:07:12,650 --> 00:07:18,890
ุชู„ุชูŠู† ู‡ูŠู†ุถุนู ุนู„ู‰ ุงู„ total salary ุงู„ุขู† ุถุงู„ ุนู„ูŠู†ุง ุงู„
86
00:07:18,890 --> 00:07:26,970
degree ุชู…ุงู… ูุจู†ู‚ูˆู„ ู…ุซู„ุง if degree
87
00:07:26,970 --> 00:07:31,690
E1
88
00:07:34,900 --> 00:07:43,660
.degree ูŠุณุงูˆูŠ ูˆุงุญุฏ ุฃูˆ ูŠุณุงูˆูŠ ุงุชู†ูŠู† ูŠุนู†ูŠ
89
00:07:43,660 --> 00:07:47,300
ุฅุฐุง ูƒุงู† ุฏุฑุฌุฉ ุฃูˆู„ู‰ ุฃูˆ ุฏุฑุฌุฉ ุชุงู†ูŠุฉ ุถูŠูู„ู‡ ุนุดุฑุฉ ููŠ
90
00:07:47,300 --> 00:07:52,420
ุงู„ู…ูŠุฉ ู…ู† ุงู„ุฑุงุชุจ ูŠุนู†ูŠ ุงู„ total salary ู‡ูŠุฒูŠุฏ ุจู‚ูŠู…ุฉ
91
00:07:52,420 --> 00:07:57,880
ุนุดุฑุฉ ููŠ ุงู„ู…ูŠุฉ ู…ู† ู‚ูŠู…ุชู‡ salary ุฒุงุฆุฏ ูŠุณุงูˆูŠ total
92
00:07:57,880 --> 00:07:58,420
salary
93
00:08:02,340 --> 00:08:06,500
ุฏุฑุจ ุตูุฑ ูุงุตู„ุฉ ูˆุงุญุฏ ุงูŠุด ูŠุนู†ูŠ ู‡ุฐุงุŸ ุจูŠุฑูˆุญ ู„ total
94
00:08:06,500 --> 00:08:10,300
salary ุจุถุฑุจู‡ ููŠ ุตูุฑ ูุงุตู„ุฉ ูˆุงุญุฏ ุนุดุงู† ูŠุฌูŠุจ ุนุดุฑุฉ
95
00:08:10,300 --> 00:08:16,000
ูุงู„ู…ูŠุฉ ู…ู†ู‡ ูˆ ุจุถูŠู ูˆูŠู†ุŸ ุนู„ู‰ ุงู„ total salary ุงู„ุงู†
96
00:08:16,000 --> 00:08:22,380
else if ุงู„ degree ูŠุณุงูˆูŠ
97
00:08:22,380 --> 00:08:30,220
ุงุชู†ูŠู† ุงู‡ E ูˆุงุญุฏ dot degree ูŠุณุงูˆูŠ ุงุชู†ูŠู† ุงูˆ E ูˆุงุญุฏ
98
00:08:30,220 --> 00:08:30,860
dot degree
99
00:08:33,670 --> 00:08:49,730
ุฃู‡ ุงุชู†ูŠู† ุนู…ู„ู†ุงู‡ุง ุชู„ุงุชุฉ ุฃูˆ ุฃุฑุจุนุฉ ุจูŠุถูŠููˆุง
100
00:08:49,730 --> 00:08:54,990
.. ุจูŠุฒูŠุฏูˆุง ุจู‚ูŠู…ุฉ ู…ุซู„ุง ุนุดุฑูŠู† ูุงู„ู…ูŠุฉ ุจูŠูƒููŠ ุฒูŠ ู‡ูŠ ูˆ
101
00:08:54,990 --> 00:09:00,710
ู‡ูƒุฐุง ู‡ุฐู‡ ูƒู„ู‡ุง ุฃูŠุด ู„ุญุณุจุฉ ุฑุงุชุจ ุงู„ูƒู„ ู„ู„ู…ูˆุธู ููŠ ุงู„ุขุฎุฑ
102
00:09:00,710 --> 00:09:09,690
ุชุทุจุน ุฃูŠุดุงู„ู€ Total Salary ู„ู„ู…ูˆุธู ุงู„ุขู† ู‡ุฐู‡ ูƒู„ู‡ุง ุญุณุจุฉ
103
00:09:09,690 --> 00:09:12,550
ุงุญู†ุง ุนู…ู„ู†ุงู‡ุง ู…ู…ูƒู† ุชูƒูˆู† ุงู„ุญุณุจุฉ ุฃุนู‚ุฏ ู…ู† ู‡ูŠูƒ ูˆููŠ ู„ุณู‡
104
00:09:12,550 --> 00:09:20,810
ูƒู…ุงู† ูŠุนู†ูŠ ูˆุงุญุฏุฉ ุชุงู†ูŠุฉ ู…ู‡ู…ุฉ if a1.hasinsurance ุฅุฐุง
105
00:09:20,810 --> 00:09:24,890
ุนู†ุฏู‡ ุชุฃู…ูŠู† ุฅูŠุด ุจู†ุฑูˆุญ ู†ุนู…ู„ุŸ ุจู†ุฑูˆุญ ู„ู„ู€ Total Salary
106
00:09:24,890 --> 00:09:31,110
ู†ุงู‚ุต ูŠุณูˆู‰ ู…ุซู„ุง ุนุดุฑูŠู† ู‡ุฐูˆู„ ุนุดุฑูŠู† ุฏูˆู„ุงุฑ ุฑุงูŠุญูŠู†
107
00:09:31,110 --> 00:09:32,730
ู„ู„ุชุฃู…ูŠู†
108
00:09:34,430 --> 00:09:37,450
ูˆุงู†ุชุจู‡ ุฅูŠุด ุงู„ุญุงู„ุงุช ุงู„ู„ูŠ ููŠู‡ุง F ูˆุฅูŠุด ุงู„ุญุงู„ุงุช ุงู„ู„ูŠ
109
00:09:37,450 --> 00:09:44,010
ููŠู‡ุง if elseุŒ ุชู…ุงู…ุŸ ูŠุนู†ูŠ ู‡ุฐู‡ ู…ุซู„ุง F ูˆู‡ุฐู‡ F ู„ุญุงู„ู‡ุงุŒ
110
00:09:44,010 --> 00:09:47,090
ู…ุงู„ู‡ุงุด ุนู„ุงู‚ุฉ ุจู…ูŠู†ุŸ ุจุงู„ู„ูŠ ููˆู‚ุŒ ุฃู†ุง ู„ุงุฒู… ุฃูุญุต ุฅุฐุง
111
00:09:47,090 --> 00:09:51,010
ู…ุชุฒูˆุฌ ุฃูˆ ู„ุงุŒ ูˆุจุฏุฃ ุฃูุญุต ุจุฑุถู‡ ุนุฏุฏ ุงู„ุฃูˆู„ุงุฏุŒ ูˆุจุนุฏูŠู†
112
00:09:51,010 --> 00:09:56,890
ู‡ุฏูˆู„ุฉ ู…ุฑุจูˆุทูŠู† ุจุจุนุถุŒ ู„ูŠุดุŸ ู„ุฃู†ู‡ู… ุงู„ุงุชู†ูŠู† ุจุชุนุงู…ู„ูˆุง ู…ุน
113
00:09:56,890 --> 00:10:00,890
ุงู„ degreeุŒ ูˆููŠ ุงู„ุขุฎุฑ Insurance ุจุฑุถู‡ ุจุฏู‡ ุฃูุญุตู‡ุŒ ุจุบุถ
114
00:10:00,890 --> 00:10:07,310
ุงู„ู†ุธุฑ ุนู† ูƒู„ ุงู„ู„ูŠ ููˆู‚ูˆููŠ ุงู„ุขุฎุฑ ุฑุงุชุจ ุงู„ูƒู„ system.out
115
00:10:07,310 --> 00:10:21,890
.println ู‡ูˆ total salary ุชู…ุงู…ุŸ
116
00:10:21,890 --> 00:10:26,130
ู‡ู†ุง ุงู„ total salary ุฃู„ู ุฏู„ูˆุง ุฒูŠ ู…ุง ู‡ูˆ ุทุจุนุง ู„ูŠุด
117
00:10:26,130 --> 00:10:30,440
ุฏู„ูˆุง ุฒูŠ ู…ุง ู‡ูˆุŸุฃุญู†ุง ู…ุงุนุจู†ุงุด ุงู„ุฃู…ูˆุฑ ุงู„ุชุงู†ูŠุฉ ู…ุซู„ุง
118
00:10:30,440 --> 00:10:36,180
ุฎู„ูŠู†ุง ู†ู‚ูˆู„ has insurance ู†ุญุทู‡ุง ุฅูŠุด ุงู„ true ูˆ ุฃูŠ
119
00:10:36,180 --> 00:10:43,200
ูˆุงุญุฏ ุฏูˆ ุงู„ degree ู‚ูŠู…ุชู‡ ุงุชู†ูŠู† ู…ุซู„ุง ู‡ูˆ is married
120
00:10:43,200 --> 00:10:48,140
false ูŠุนู†ูŠ ู…ุด ู‡ูŠูƒูˆู† ุนู†ุฏ ูˆู„ุงุฏู‡ ู…ุด ู…ุชุฒูˆุฌ ุทุจ
121
00:10:48,140 --> 00:10:53,740
ุจุฑุถู‡ ุฃู„ู ูˆ ุฅูŠุดุŸ ุฃู„ู ูˆ ุชู…ุงู†ูŠู† ู„ูŠุดุŸ ู„ุฃู† ู‡ูˆ .. ู„ุฃู†
122
00:10:53,740 --> 00:10:59,580
ุงู„ุฏุฑุฌุฉ ุชุงู†ูŠุฉ ุถุงู ุฌุฏุด ุนู„ู‰ ุงู„ุฑุงุชุจ10% ุตุญุŸ ุตุงุฑ ูŠุนู†ูŠ
123
00:10:59,580 --> 00:11:06,680
1100 ูˆุทุฑุญู†ุง 20 ุชุฃู…ูŠู† ุตุงุฑ 1080 ุทูŠุจุŒ ุงู„ุขู† ู‡ุฐู‡
124
00:11:06,680 --> 00:11:09,340
ุงู„ุนู…ู„ูŠุฉ ูƒู„ู‡ุง ุจุฏู„ ู…ุง ุฃู†ุง ุจุญุณุจู‡ุง ูˆ ุจุนู…ู„ู‡ุง ููŠ ุงู„ main
125
00:11:09,340 --> 00:11:16,140
ุจุฏู†ุง ู†ุนู…ู„ู‡ุง method ุชู…ุงู…ุŸ ุชุนุงู„ูŠ ุนู„ู‰ employee ูˆ ุงู„ุขู†
126
00:11:16,140 --> 00:11:19,940
ุจุฏู†ุง ู†ููƒุฑ ุฅูŠุด ูƒูŠ ุจู†ุนู…ู„ ุงู„ method ุฃูˆู„ ุญุงุฌุฉ ู‚ู„ู†ุง
127
00:11:19,940 --> 00:11:25,850
ุจู†ุญุท ุฅูŠุดุŸ public ุฅูŠุด ุงู„ method ู‡ุชุฑุฌุน ููŠ ุงู„ุขุฎุฑุŸูู„ูˆุช
128
00:11:25,850 --> 00:11:33,690
ุณู„ุฑูŠ ุตุญ ู„ูˆ ุจุชุญุท float ุฅูŠุด ุจุชุณู…ูŠู‡ุง ุงู„ methodุŸ ูŠุนู†ูŠ
129
00:11:33,690 --> 00:11:42,230
calculate total salary ุชู…ุงู…ุŸ calculate total
130
00:11:42,230 --> 00:11:47,870
salary ุฅูŠุด ุจุชุงุฎุฏุŸ ู„ุฃุŒ ุจู„ุฒู…ู‡ุง ู…ุนู„ูˆู…ุงุช ู…ู† ุจุฑุงุŸ ู„ุฃุŒ
131
00:11:47,870 --> 00:11:52,520
ู‡ูŠ ุฅูŠุด ู‡ุชุณุชุฎุฏู…ุŸ ู‡ุชุณุชุฎุฏู… ู‡ุฏูˆู„ุฉุชู…ุงู…ุŸ ุงู‡ ูู…ุด ู…ุญุชุงุฌ
132
00:11:52,520 --> 00:12:00,640
ุงู†ุช ุชุชู…ุฑู† ู„ู‡ุง ุจูŠุงู†ุงุช ุงุถุงููŠุฉ ุตุญ ูˆู„ุง ูŠุง ุฌู…ุงุนุฉุŸ
133
00:12:00,640 --> 00:12:04,340
ุงู„ุงู† ุงูˆู„ ู…ุง ุงุนู…ู„ ุฒูŠ ู‡ูŠูƒ ุทู„ุนู„ูŠ error ู„ูŠุดุŸ ู„ุฃู† ู‡ูˆ
134
00:12:04,340 --> 00:12:10,780
ุจุฏู‡ return ุชู…ุงู…ุŸ ุทูŠุจ ุฃูŠ method ุจุชุญุชุงุฌ return ุฃุณู‡ู„
135
00:12:10,780 --> 00:12:14,640
ุทุฑูŠู‚ุฉ .. ูŠุนู†ูŠ ุจุชุนู…ู„ู‡ุง ุฅูŠุดุŸ ู‡ูŠ ู…ุด ุจุฏู‡ุง floatุŸ ู‡ูŠ ู…ุด
136
00:12:14,640 --> 00:12:18,720
method ุจุฏู‡ุง floatุŸ ุนุฑู ููŠ ุงู„ุฃูˆู„ ุฅูŠุดุŸ float total
137
00:12:18,720 --> 00:12:20,220
salary
138
00:12:22,670 --> 00:12:29,750
ู…ุซู„ุง ุฎู„ูŠู‡ ูŠุจุฏุฃ ู…ู† whereุŸ ู…ู† basic salary ูˆู‡ู†ุง ุฅูŠุด
139
00:12:29,750 --> 00:12:35,250
ุจุฏู‡ ูŠู†ุญุทุŸ code ู„ู„ุญุณุงุจุงุช ูˆููŠ ุงู„ุขุฎุฑ ุฅูŠุด ุจุฏู‡ ูŠุฑุฌุนุŸ
140
00:12:35,250 --> 00:12:40,270
return total salary ู‡ูŠูƒ ุณูƒุชุŒ ู„ูŠุดุŸ ู„ุฃู† ุงู„ method
141
00:12:40,270 --> 00:12:44,050
ุฑุฌุนุช ุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ุจุฏู‡ ุฅูŠุงู‡ ู‡ูˆ ุจุฏู‡ float ู‡ูŠุฑุฌุนู†ุงู„ูƒ
142
00:12:44,050 --> 00:12:47,470
float ุทุจุนุง ุฃูƒูŠุฏ ูŠุง ุฌู…ุงุนุฉ ุฅู† ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุฑุฌุนุฉ ู„ุงุฒู…
143
00:12:47,470 --> 00:12:52,260
ุชูƒูˆู† ู…ู† ู†ูุณ ู†ูˆุน ู…ูŠู†ู†ูุณ ู†ูˆุน ุงู„ู€ retain value ุจุชุงุนุช
144
00:12:52,260 --> 00:12:57,280
ุงู„ู…ุซู„ ูŠุนู†ูŠ ู…ุงูŠู†ูุนุด ู‡ู†ุง ุชุฑุฌุน ู…ุซู„ุง string ุฃูˆ boolean
145
00:12:57,280 --> 00:13:02,660
ุจู†ูุน ุชุฑุฌุน integer ู„ูŠุดุŸ ุงู„ integer ุจู†ุญุท ููŠ ุงู„
146
00:13:02,660 --> 00:13:07,260
floatุŒ ุตุญุŸ ู‡ู†ุง ุจุฏูƒ ุชุญุท ุงู„ุฎูˆุงุฑุฒู…ูŠุฉ ุงู„ู„ูŠ ุงุญู†ุง
147
00:13:07,260 --> 00:13:10,480
ุนู…ู„ู†ุงู‡ุง ูˆูŠู†ุŸ ููŠ ุงู„ main ุจุฏู„ ู…ุง ู†ูƒุชุจู‡ุง ุชุงู†ูŠุŒ ุงูŠุด
148
00:13:10,480 --> 00:13:16,440
ุจู†ุฑูˆุญ ู†ุนู…ู„ุŸ ุฏู‡ ุจุฏู†ุง ู†ู†ุณุฎ ู‡ุฐุง ุงู„ูƒู„ุงู… ูƒู„ู‡ ู…ู† ุงู„ main
149
00:13:21,140 --> 00:13:23,640
ุทุจุนุง ู‡ุฐุง ุจุฏูŠ ุงุดูŠู„ู‡ ู„ุฅู† ุงู†ุง ุนุฑูุช ุงู„ู…ุชุบูŠุฑ ู‡ู†ุงูƒ ูˆ
150
00:13:23,640 --> 00:13:27,840
ุจุฏูŠุด ุทุจุงุนุฉ .. ุงู„ุทุจุงุนุฉ ู‡ู†ุง ุฎู„ูŠู‡ุง ุทูŠุจ ู†ูŠุฌูŠ ู†ุฑุฌุน ู‡ู†ุง
151
00:13:27,840 --> 00:13:33,700
ูˆ ู†ุญุท ุงูŠุด ุงู„ code ุงู„ู„ูŠ ุนู…ู„ู†ุง ุงู‡ ุจุณ ุทุจุนุง ู‡ู„ุฌูŠุช
152
00:13:33,700 --> 00:13:36,220
ู…ุงููŠุด ุฏู‡ ุงุชุญ .. ุงูˆ ุบู„ุท ุงุชุญุท ุงูŠ ูˆุงุญุฏ ุงูŠ ูˆุงุญุฏ ุฏู‡
153
00:13:36,220 --> 00:13:39,460
ุนุดุงู† ูƒู†ุง ููŠ ุงู„ main ู„ู…ุง ุฏุงู… ุงู†ุง ุดุบุงู„ ุฌูˆุง ุงู„ object
154
00:13:39,460 --> 00:13:43,040
ุนู„ู‰ ุทูˆู„ ุจุญุท ุงูŠุด ู…ุจุงุดุฑ
155
00:14:00,260 --> 00:14:02,960
ุงู„ุฃู† ู‡ุฐุง ุจุญุณุจ ุงู„ุญุณุจุฉ ูƒู„ู‡ุง ูˆ ููŠ ุงู„ุขุฎุฑ ุฅูŠุด ุจุนู…ู„ุŸ
156
00:14:02,960 --> 00:14:08,880
ุจุฑุฌุน ุงู„ู€ Total Salary ูˆุงุถุญ ูŠุง ุฌู…ุงุนุฉุŸ ููŠ ุงู„ุฃูˆู„ ุจุจุฏุฃ
157
00:14:08,880 --> 00:14:11,600
ุจุงู„ู€ Basic Salary ูˆ ุจุนู…ู„ ูƒู„ ุงู„ุญุณุจุฉ ูˆ ููŠ ุงู„ุขุฎุฑ ุจุฑุฌุน
158
00:14:11,600 --> 00:14:15,580
ุงู„ู€ Total Salary ุฅูŠุด ุงู„ู…ูŠุฒุฉ ู…ู† ูˆุฌูˆุฏ ุงู„ู€ MethodุŸ
159
00:14:15,580 --> 00:14:22,560
ุงู„ู„ูŠ ุฃู† ุฃู†ุช ู…ุงุนู„ูŠูƒ ุจุชู‚ูˆู„ู‡ E1. .. ู‡ูŠ ุฅูŠุด ุทู„ุนู„ูƒ ู‡ู†ุงุŒ
160
00:14:22,560 --> 00:14:25,180
ู‡ูŠ ุงู„ู€ Method Calculate Total SalaryุŒ ุจุญุทู‡ุง ููŠ ุงู„ู€
161
00:14:25,180 --> 00:14:30,550
System.auditprintln ุนุดุงู† ูŠุทุจุน ู„ูŠู‡ุง ุฅูŠุดุŒ ู…ุจุงุดุฑุจุฏูƒ
162
00:14:30,550 --> 00:14:33,810
ุชุณุชุฎุฏู…ู‡ุง ู„ู…ูˆุธู ุชุงู†ูŠุŒ ุชุณุชุฏุนูŠู‡ุง ุนู„ู‰ ุทูˆู„ ุงู„ method
163
00:14:33,810 --> 00:14:37,750
ูŠุนู†ูŠ ูˆุงุถุญ ูƒูŠูุŸ ู„ุฃู† ุงู„ code ูƒู„ู‡ ู…ูˆุฌูˆุฏุŒ ุจุฏูƒ ุชุนุฏู„ู‡ุงุŒ
164
00:14:37,750 --> 00:14:40,310
ูŠุนู†ูŠ ุญุชู‰ ูุงูŠุฏุฉ ุงู„ encapsulation ุฃู† ุญุชู‰ ููŠ ุงู„
165
00:14:40,310 --> 00:14:43,550
maintenance ุจูŠุณู‡ู„ ุงู„ code ุจูŠุฌูŠ ุงู„ู…ุจุฑู…ุดุŒ ุจุฏู‡ ูŠุนุฏู„
166
00:14:43,550 --> 00:14:46,570
ุงู„ codeุŒ ุจุฑุฌุน ู„ู„ classุŒ ุจู„ุงู‚ูŠ ููŠ ุงู„ algorithmุŒ
167
00:14:46,570 --> 00:14:51,650
ุจุนุฏู„ู‡ุงุŒ ู„ูƒู† ุฃู†ุช ู…ุนู†ู‰ ููŠ ุงู„ main ุฏุงุฆู…ุง ุชุฌู„ู„ ุงู„
168
00:14:51,650 --> 00:14:54,530
codeุŒ ุตุญ ุฃูˆ ู„ุงุŸ ู„ุฃู† ููŠ ุญุงุฌุงุช ู‡ุชูŠุฌูŠ ูƒุชูŠุฑ ููŠ ุงู„ main
169
00:15:03,150 --> 00:15:12,490
ุทูŠุจ ู‡ุงูŠ 1080 ุงู„ุงู†
170
00:15:12,490 --> 00:15:19,510
ุดูˆู ุจุฏูŠ ุฃุนุฏู„ ุนู„ู‰ ู…ุซู„ ุดูˆูŠุฉ ู„ูˆ ุฃู†ุช ู‚ู„ุช ุจุฏูŠ ุฃุญุณุจ ุฑุงุชุจ
171
00:15:19,510 --> 00:15:25,250
ุงู„ู…ูˆุธู ุชู…ุงู… ู…ุน ุชุญุฏูŠุฏ bonus ู„ู‡ ุฅูŠุด ูŠุนู†ูŠ bonusุŸ
172
00:15:25,910 --> 00:15:29,370
ู…ูƒุงูุฃุฉ ู…ุซู„ุง ู…ุฑุงุช ุงู„ู…ุคุณุณุฉ ุฃูˆ ุงู„ุดุฑูƒุฉ ุจูƒูˆู† ุนู†ุฏู‡ุง ูู„ูˆุณ
173
00:15:29,370 --> 00:15:34,710
ูƒุชูŠุฑ ูุจุชู‚ุฑุฑ ุฅู†ู‡ุง ุชูˆุฒุน ู„ุฒูŠุงุฏุฉ ุนู„ู‰ ุฅูŠุด ุนู„ู‰ ุงู„ู…ูˆุธู
174
00:15:34,710 --> 00:15:39,350
ูŠุนู†ูŠ ุชุฎูŠู„ูˆุง ูŠุนู†ูŠ ู…ุซู„ุง ุชู…ุงู… ูู…ุซู„ุง ุฅูŠุด ู…ู…ูƒู† ู†ุนู…ู„ู‡
175
00:15:39,350 --> 00:15:43,990
ุฌู…ุงุนุฉ ู†ู‚ูˆู„ู‡ calculate total salary ูˆุฅู† ู…ู† ุถู…ู† ..
176
00:15:43,990 --> 00:15:50,420
ุงู„ุขู† ูŠุนู†ูŠ ุจุฏูŠ ุฃุจุนุฏ ุฃู†ุง ู‚ูŠู…ุฉ ุงู„ bonus ูˆูŠู†ููŠ ุงู„ู€
177
00:15:50,420 --> 00:15:54,260
method ู‡ูˆ ูŠุญุณุจ ุงู„ุญุณุจุฉ ูˆุฅุฐุง ููŠ bonus ู…ุฑุณู„ ุฃูˆ ู…ุจุนูˆุถ
178
00:15:54,260 --> 00:16:00,100
ุจุชุถูŠูู‡ ุฃู…ูŠู† ุนู„ู‰ ุงู„ู€ total salary ูŠุนู†ูŠ ู‡ู†ุง ุทุจุนุง ุงู„
179
00:16:00,100 --> 00:16:03,580
bonus ู…ู…ูƒู† ุฃู‚ูˆู„ู‡ float ุชู…ุงู… ูˆู†ุญุท ู…ุชุบูŠุฑ ุงุณู…ู‡ ุฅูŠุด
180
00:16:03,580 --> 00:16:09,880
bonus ูŠุนู†ูŠ ู‡ุฐุง ุงู„ method ุจุชุงุนุชูŠ ู‡ุชุณุชู‚ุจู„ ู…ุชุบูŠุฑ ู…ู†
181
00:16:09,880 --> 00:16:15,040
ู†ูˆุน float ุงุณู…ู‡ ุฅูŠุด ุงุณู…ู‡ bonus ุทุจุนุง ู‡ุฐุง ุงู„ bonus
182
00:16:15,040 --> 00:16:18,160
ู„ุณู‡ ู…ุง ุงุณุชุฎุฏู…ู†ู‡ูˆุด ุตุญ ูˆู„ุง ู„ุฃ ู„ุฃู† ุงุญู†ุง ุจู†ุญุณุจ ุงู„
183
00:16:18,160 --> 00:16:22,800
salaryุฃูˆ ุฎู„ู‘ูŠู†ูŠ ู†ู‚ูˆู„ ุงูŠุด basic salary ุฒุงุฆุฏ ุงูŠุดุŸ
184
00:16:22,800 --> 00:16:27,400
ุฒุงุฆุฏ bonus ุทุจุนุง ุฅุญู†ุง ุฅุฐุง ุจุฏู†ุงุด ู†ุนุทูŠ bonusุŒ ุฅูŠุด
185
00:16:27,400 --> 00:16:30,860
ุจู†ุนู…ู„ ู‡ู†ุงุŸ ุตูุฑุŒ ุฅุฐุง ุจุฏู†ุง ู†ุฎูุถ ุงู„ุฑูˆุงุชุจุŒ ุฅูŠุด ุจู†ุนู…ู„
186
00:16:30,860 --> 00:16:37,720
ู‡ู†ุงุŸ ู‡ุฐุงุŒ ุชุญุทู‡ ุจุงู„ุณุงู„ู…ุŒ ู…ุงุดูŠุŸ
187
00:16:37,720 --> 00:16:41,220
ุทูŠุจุŒ ูุจู†ูŠุฌูŠ .. ุทุจุนุง ุงู„ุขู† ุทู„ุน ู„ูŠ ุฎุทุฃ ูˆูŠู†ุŸ ููŠ ุงู„
188
00:16:41,220 --> 00:16:46,070
mainุŒ ู„ูŠุดุŸ ุจู‚ูˆู„ู„ูŠ ุฃู†ุช ุงู„ุขู† ุงู„ method ุจุชุงุนุชูƒุจุชุงุฎุฏ
189
00:16:46,070 --> 00:16:49,370
Parameter ุงู†ุช ุญุงุทุทู‡ุง ุจุฏูˆู† Parameter ุชู…ุงู…ุŸ ูุจู†ุญุท
190
00:16:49,370 --> 00:16:55,570
ู…ุซู„ุง ุฅูŠุดุŸ ุฎู…ุณูŠู† ูู†ุฑุฌุน ุชุณูƒุช ุงู„ุขู† ุทุจุนุง ู…ูู‡ูˆู… ุฃู†
191
00:16:55,570 --> 00:17:01,610
ุงู„ุฎู…ุณูŠู† ู‡ุฐู‡ ู‡ุชู†ุจุนุช ูˆ ุชุชุฎุฒู† ููŠ ุงู„ bonus ูˆ ู‡ูŠุณุชุฎุฏู…ู‡ุง
192
00:17:01,610 --> 00:17:08,870
ููŠ ุงู„ method ูŠุนู†ูŠ ู‡ุฐุง method ุจุชุงุฎุฏ ู‚ูŠู… ูˆุงุถุญ ูŠุง
193
00:17:08,870 --> 00:17:13,030
ุฌู…ุงุนุฉุŸ ุทุจ ูŠุง ุฌู…ุงุนุฉ
194
00:17:17,630 --> 00:17:21,770
ุงู„ุงู† ูŠุง ุฌู…ุงุนุฉ ู…ุนู„ูˆู…ุฉ ุตุบูŠุฑุฉ ุญูƒูŠู†ุง ุงุญู†ุง ุงู† ุงู„ู…ุชุบูŠุฑุงุช
195
00:17:21,770 --> 00:17:26,570
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุฌูˆุง ุงู„ object ุจู‚ุฏุฑ ุงุณุชุฎุฏู…ู‡ุง ู…ู† ุฌูˆุง ุงู„
196
00:17:26,570 --> 00:17:30,230
method ุตุญุŸ ูŠุนู†ูŠ ู…ุซู„ุง ู‡ุฏูˆู„ ุงู„ู„ูŠ ููˆู‚ ุงู„ id ูˆ ุงู„ name
197
00:17:30,230 --> 00:17:31,910
ูˆ ุงู„ age ูˆ ุงู„ basic cell ูˆ ุงู„ degree ูˆ number of
198
00:17:31,910 --> 00:17:35,990
children ูˆ ุงู„ is valid ูƒู„ู‡ู… ุจุณุชุฎุฏู…ู‡ู… ู…ู† ุฏุงุฎู„ ุงู„
199
00:17:35,990 --> 00:17:41,630
method ุนุงุฏูŠ ุตุญ ูˆู„ุง ู„ุฃุŸ ุจุณ ููŠู‡ ุงู†ุง ู…ุดูƒู„ุฉ ุตุบูŠุฑุฉ ู…ุด
200
00:17:41,630 --> 00:17:46,730
ู…ุดูƒู„ุฉ ู‡ูŠ ู„ู…ุง ู†ูƒูˆู† ููŠ ุงู„ mainูˆุจุฏู†ุง ู†ุดูˆู ุงู„ู…ุชุบูŠุฑ
201
00:17:46,730 --> 00:17:51,490
ุจุชุงุน ุงู„ุชุฃู…ูŠู† ุงุญู†ุง ู…ุด ุญุงูุธูŠู† ุงุณู…ู‡ ู„ูƒู† ู„ูˆ ู†ุญุท E ูˆุงุญุฏ
202
00:17:51,490 --> 00:17:55,990
dot ุจุทู„ุน ุงู†ู‡ ู‡ู†ุง ูˆู…ู† ุดูƒู„ู‡ ุจุนุฑูู‡ ุตุญ ูŠุนู†ูŠ ู…ุด ู„ุงุฒู…
203
00:17:55,990 --> 00:18:00,570
ุงูƒูˆู† ุนุงุฑู ูƒุชุงุจุชู‡ ูƒู„ู‡ ู„ูƒู† ู„ู…ุง ู†ูƒูˆู† ุฌูˆุง ุงู„ method
204
00:18:00,570 --> 00:18:06,930
ุชู…ุงู… ุงู†ุช ุจุฏูƒ ุชูƒุชุจ ุตุญ ุงูˆ ุชุฑูˆุญ ููˆู‚ ูˆ ุชู†ุณุฎ ูˆ ุชุญุทู‡
205
00:18:06,930 --> 00:18:10,750
ุชู…ุงู… ุจุฏู„ ู…ุง ุชุนู…ู„ ู‡ูŠูƒ ููŠ ุทุฑูŠู‚ุฉ ุฅูŠุด ู…ู…ูƒู† ุชุนู…ู„ู‡ุง ู…ู…ูƒู†
206
00:18:10,750 --> 00:18:17,450
ุชูƒุชุจ ูƒู„ู…ุฉ thisูˆ ุชู‚ูˆู„ู‡ ุฅูŠุด ุจุชุนู…ู„ ุฒูŠูƒ dot ุฅูŠุด ุจูŠุนู…ู„ุŸ
207
00:18:17,450 --> 00:18:24,130
ุจุชุทู„ุนู‡ ุฅูŠุด this ูŠุนู†ูŠ ู‡ู„ู‚ูŠุช ุฃู†ุช ู„ู…ุง ุชูƒูˆู† ุจุฑุง ู„ู…ุง
208
00:18:24,130 --> 00:18:28,150
ุชูƒูˆู† ุจุฑุง ุจุชุญุท ุงุณู… ุงู„ object ุงู„ู„ูŠ ุนู…ู„ุชู‡ ูŠุนู†ูŠ ู‡ู†ุง ูˆ
209
00:18:28,150 --> 00:18:32,130
ุฃู†ุง ููŠ ุงู„ main ุฃู†ุดุฃู†ุง E ูˆุนุดุงู† ุฃูˆุตู„ ู„ุฌูˆุง ุจูƒุชุจ E
210
00:18:32,130 --> 00:18:37,550
ูˆุงุญุฏ dotุทูŠุจุŒ ุงู„ุขู† ุฃู†ุง ุดุบุงู„ ุฌูˆุง ุงู„ object ู†ูุณู‡ุŒ
211
00:18:37,550 --> 00:18:42,210
ูŠุนู†ูŠ ุฃู†ุง ุงู„ุขู† ู…ู† ุฌูˆุง ู…ูˆุฌูˆุฏุŒ ุชู…ุงู…ุŸ ู‡ู„ .. ุบู„ุท ุฃู‚ูˆู„
212
00:18:42,210 --> 00:18:46,350
E1ุŒ ู„ุฃู†ู‡ ู…ุด ู‡ูŠุนุฑู ุฅูŠุด ูŠุนู†ูŠ E1ุŒ ุชู…ุงู…ุŸ ู…ุฏุงู… ุฃู†ุง ุดุบุงู„
213
00:18:46,350 --> 00:18:50,590
ุฌูˆุง ุงู„ objectุŒ ู…ู…ูƒู† ุฃูƒุชุจู„ู‡ ูƒู„ู…ุฉ ุฅูŠุดุŒ this ุจุฏู„ ู…ูŠู†ุŸ
214
00:18:50,590 --> 00:18:56,350
ุจุฏู„ E1 ูˆE2ุŒ ู„ุฃู†ู‡ ุฃู†ุง ุดุบุงู„ ุฌูˆุง .. ุฌูˆุง ุงู„ objectุŒ
215
00:18:56,350 --> 00:19:01,140
ู‡ุฐู‡ ู…ุด .. ู…ุด ุฅุดุจุงุฑูŠุฉุŒ ู‡ุฐู‡ ูู‚ุท ู„ุฅูŠุดู„ูˆ ุงู†ุช ุญุงุจุจ ุงู†ูƒ
216
00:19:01,140 --> 00:19:04,760
ุชุดูˆู ุงู„ู…ุชุบูŠุฑุงุช ุชุฑุฌุน ู„ู„ุญุงุฌุงุช ุงู„ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ object
217
00:19:04,760 --> 00:19:11,220
ุชู‚ูˆู„ู‡ this dot ู‡ูŠ ุฌุงุจู„ูƒ ุงูŠุงู‡ู… ุทุจุนุง ู„ูˆ ูƒุชุจุชู‡ุง
218
00:19:11,220 --> 00:19:15,000
number of children ู„ุญุงู„ู‡ุง ุจุฏูˆู† this ู„ุญุงู„ู‡ ุจูู‡ู…ู‡ุง
219
00:19:15,000 --> 00:19:19,120
ุฎู„ุงุต ุจูŠุนุฑู ุงู† ู‡ุฐูŠ ุงู„ู„ูŠ ุชุงุจุน ู„ู„ object ู„ูƒู† ุงุฐุง ุงู†ุช
220
00:19:19,120 --> 00:19:22,600
ู…ู†ุณูŠุช ุงูŠุด ุงุณู…ู‡ุง ูˆู…ู†ู‚ุตุฑ ุชุฑูˆุญ ููˆู‚ ุชู†ุณุฎู‡ุง ูˆ ุชุญุทู‡ุง
221
00:19:22,600 --> 00:19:27,800
ู…ู…ูƒู† ุนู„ู‰ ุทูˆู„ ุชูƒุชุจ this dot
222
00:19:27,800 --> 00:19:35,750
ู‡ูŠ ุฌุงุจู„ูƒ ุงูŠุงู‡ู…ุชู…ุงู…ุŸ ู‡ูŠ has insurance ุณูˆุงุก
223
00:19:35,750 --> 00:19:40,270
ูƒุชุจุชู‡ุง ุจ this ุฃูˆ ุจุฏูˆู† thisุŒ ุฃูŠุดุŸ ู†ูุณ ุงู„ุญุงุฌุฉ ุชู…ุงู…ุงุŒ
224
00:19:40,270 --> 00:19:43,650
ุจุณ ู‡ุฐุง this ุฅูŠุด ุจุชุณุงุนุฏ ูŠุง ุฌู…ุงุนุฉุŸ ุฅู†ูƒ ุชุดูˆู
225
00:19:43,650 --> 00:19:47,650
ุงู„ู…ุชุบูŠุฑุงุช ุงู„ู„ูŠ ููˆู‚ุŒ ุชู…ุงู…ุŸ ุฅูŠุด ู…ุนู†ุงูƒ ุงู„ู„ูŠ ุจุงู„ thisุŸ
226
00:19:47,650 --> 00:19:51,330
ู„ุฃู† ุฃุตู„ ุงู„ method ูˆ ุงู„ attributes ู…ูˆุฌูˆุฏูŠู† ููŠ ู†ูุณ
227
00:19:51,330 --> 00:19:55,530
ุงู„ู…ูƒุงู†ุŒ ููŠ ู†ูุณ ุงู„ object ูุจู‚ูˆู„ู‡ ู‡ุงุชู„ูŠ ูƒุฅู†ูŠ ุจู‚ูˆู„ู‡
228
00:19:55,530 --> 00:19:58,890
ุฑูˆุญู„ูŠ ุนู„ู‰ ู†ูุณ ุงู„ object ูˆ ู‡ุงุชู„ูŠ ุงู„ุญุงุฌุงุช ุงู„ู„ูŠ
229
00:19:58,890 --> 00:20:04,940
ู…ูˆุฌูˆุฏุฉ ููŠู‡ุชู…ุงู…ุŸ ุฃู‡ ุจุงู„ุธุจุท ู‡ุฐุง ุงู„ object ู„ุฃู†ู‡ ุนุดุงู†
230
00:20:04,940 --> 00:20:09,760
ู†ูƒูˆู† ุถุบุทูŠู† ููŠ ุงู„ุขุฎุฑ ู‡ุฐุง employee ู‡ู†ุดู‚ ู…ู†ู‡ุง ุฃูƒุชุฑ ู…ู†
231
00:20:09,760 --> 00:20:14,940
object ูˆ has insurance ู„ูƒู„ object ู„ู‡ ุฅูŠุดุŸ ู„ู‡ has
232
00:20:14,940 --> 00:20:18,220
insurance ุตุญ ูˆู„ุงุŸ ูƒู„ object ู„ู‡ name ูƒู„ object ู„ู‡
233
00:20:18,220 --> 00:20:22,160
ID ูุงู†ุง ูุนู„ูŠุง ุงู„ method ุจุชุงุนุชูŠ ู‡ุฐู‡ ุจุชุฏุฎู„ ุนู„ู‰ ู…ูŠู†ุŸ
234
00:20:22,160 --> 00:20:25,340
ุนู„ู‰ ุงู„ attributes ุงู„ุฎุงุตุฉ ููŠ ุงู„ object E1 ู…ุด ู‡ุฐุง ู‡ูˆ
235
00:20:25,340 --> 00:20:30,320
E1 ู‡ูˆ ู‡ุฐุง ุงู„ object ุงู„ู„ูŠ ุฃู†ุง ุดุบุงู„ ุฌูˆุงู‡ ู‡ูˆ ู†ูุณู‡ุงู„ู„ูŠ
236
00:20:30,320 --> 00:20:34,620
ุนู…ู„ุชู‡ ู‡ู†ุงุŒ ุฒูŠ ู…ุง ู‚ู„ู†ุง ุงู„ class ู‡ูŠ ูู‚ุท ุชุฎุทูŠุทุŒ ู…ุฏุงู…
237
00:20:34,620 --> 00:20:37,180
ุฃู†ุง ุจุชุนุงู…ู„ ู…ุน data ูˆ ุจุญุท ู‚ูŠู… ูˆ ูƒุฐุงุŒ ุฃู†ุง ุจุญุทู‡ู… ูˆ
238
00:20:37,180 --> 00:20:42,280
ุจุฎุฒูŠู†ู‡ู… ูˆูŠู†ุŸ ููŠ ุงู„ object ูˆู„ุง ููŠ ุงู„ classุŸ ููŠ ุงู„
239
00:20:42,280 --> 00:20:46,660
class ุจุฑุถู‡ .. ุฃู†ุง ู„ู…ุง ุฃุนูŠุดุŒ ุจุนูŠุด ููŠ ุงู„ุฎุฑูŠุทุฉ ุงู„ุฑุณู…
240
00:20:46,660 --> 00:20:51,390
ู„ูŠู‡ุง ุงู„ู…ู‡ู†ุฏุณ ูˆู„ุง ุจุนูŠุด ููŠ ุงู„ู„ูŠ ุฌูˆุง ุงู„ุนู…ุงุฑุฉุŸููŠ ุงู„
241
00:20:51,390 --> 00:20:54,530
object ูŠุนู†ูŠ ุงุญู†ุง ุจู†ุญุท ุจูŠุงู†ุงุช ููŠ ุงู„ object ุจู†ุนุจูŠ ููŠ
242
00:20:54,530 --> 00:20:56,710
ุงู„ attributes ุจุชุงุนุฉ ุงู„ object ุจู†ู‚ุฑุฃ ุงู„ attributes
243
00:20:56,710 --> 00:21:00,550
ุจุชุงุนุฉ ุงู„ object ุชู…ุงู… ู‡ุฐุง this degree ุจุฑูˆุญ ู„ degree
244
00:21:00,550 --> 00:21:04,890
ุจุชุงุนุฉ ุงู„ object ุชู…ุงู… ู‡ุฐุง ุงู„ object ูƒู„ู‡ ุชู… ุฅู†ุดุงุกู‡
245
00:21:04,890 --> 00:21:11,070
ุจู†ุงุก ุนู„ู‰ ุงู„ุชุฎุทูŠุท ุงู„ู…ูˆุฌูˆุฏ ููŠ ุงู„ class ุชู…ุงู… ูุจู†ูƒูˆู†
246
00:21:11,070 --> 00:21:17,110
ุฏู‚ูŠู‚ูŠู† ููŠ ุงู„ู…ุณู…ูŠุงุช ุงู„ classู‡ุฐู‡ ุจุตู„ุฉ ุฃู†ุดุฃุช ู…ู†ู‡ุง ู‚ุจู„
247
00:21:17,110 --> 00:21:21,490
ุญุงุฌุฉ ุงู„ู„ูŠ ุฃู†ุดุฃุชู‡ ู‡ุฐุง ุจุณู…ูŠู‡ object ุชู…ุงู… ุฃู†ุง ุงู„ุขู†
248
00:21:21,490 --> 00:21:24,250
ุฏุงุฎู„ ุนู„ู‰ ุงู„ attributes ุจุชุงุนุฉ ุงู„ object ูˆุงุถุญ ูŠุง
249
00:21:24,250 --> 00:21:28,030
ุฌู…ุงุนุฉ ุทูŠุจ
250
00:21:28,030 --> 00:21:37,090
ุงู„ุขู† ูู‡ู…ู†ุง this ู‡ุฐู‡ ุฎู„ูŠู†ุง
251
00:21:37,090 --> 00:21:38,530
ู†ุฏุฎู„ ุนู„ู‰ ุฃุดูŠ ุฌุฏูŠุฏ ูŠุง ุฌู…ุงุนุฉ
252
00:21:41,600 --> 00:21:44,660
ููŠ ุญุงุฌุฉ ุฃู†ุง ู‚ู„ุชู„ูƒูˆุง ูŠุนุฑููˆู‡ุง ุฒูŠ ู…ุง ู‡ูŠ ูˆู‚ู„ู†ุง ู‡ู†ุดุฑุญู‡ุง
253
00:21:44,660 --> 00:21:48,640
ุจุนุฏูŠู† ุงู„ู„ูŠ ู‡ูŠ ุฅูŠุด ุงู„ู„ูŠ ู‡ูŠ ุงู„ public ู‡ุฐู‡ ุฅูŠุด ู‡ูŠ
254
00:21:48,640 --> 00:21:52,180
ูƒู„ู…ุฉ public ุนุงู… ุฃูˆ ุดุงุฆุน ุงู„ู„ูŠ ุจูŠุญูƒูŠู„ูŠ ููŠ ุงู„ object
255
00:21:52,180 --> 00:21:58,680
oriented programming ุฃู†ุช ุนู†ุฏูƒ ุชู„ุงุชุฉ scopes ุฃูˆ ุชู„ุช
256
00:21:58,680 --> 00:22:04,820
ู…ุณุชูˆูŠุงุช ู…ู† ุงู„ูˆุตูˆู„
257
00:22:04,820 --> 00:22:08,200
ู„ู„ุจูŠุงู†ุงุช ุฃูˆ ุงู„ functions ููŠ ุนู†ุฏู†ุง ุญุงุฌุฉ ุงุณู…ู‡ุง
258
00:22:08,200 --> 00:22:15,410
publicูˆ ููŠ ุญุงุฌุฉ ุงุณู…ู‡ุง private ูˆ ููŠ ุญุงุฌุฉ ุงุณู…ู‡ุง
259
00:22:15,410 --> 00:22:21,550
protected ู„ุฃู†
260
00:22:21,550 --> 00:22:25,230
ุงุญู†ุง ููŠ ุงู„ู…ุซุงู‚ ู‡ุฐุง ู‡ู†ุดุฑุญ ุงูŠุด ูŠุนู†ูŠ public ูˆ ุงูŠุด
261
00:22:25,230 --> 00:22:29,830
ูŠุนู†ูŠ private ูˆ ู‡ุงุฏ ุงู„ protected ู‡ุชุชุบุทู‰ ุงู„ูุตู„
262
00:22:29,830 --> 00:22:33,770
ุงู„ู‚ุงุฏู… ุชู…ุงู… ูุฎู„ูŠู†ุง ู†ุดุฑุญ ุงูŠุด ูŠุนู†ูŠ private ูˆ ุงูŠุด
263
00:22:33,770 --> 00:22:40,020
ูŠุนู†ูŠ public ุงูˆู„ ุญุงุฌุฉ ูŠุง ุฌู…ุงุนุฉ ุจู‚ูˆู„ูŠุงู„ู€ attributes
264
00:22:40,020 --> 00:22:42,480
ุงู„ู„ูŠ ููˆู‚ ุนู†ุฏูƒ ุฏูˆู„ุฉ ุงู„ู„ูŠ ู‡ูˆ ุงู„ name ูˆ ุงู„ ID ูˆ ุงู„
265
00:22:42,480 --> 00:22:48,900
age by default ู‡ู… ุจูŠูƒูˆู†ูˆุง ู…ูƒุชูˆุจูŠู† ุงูŠุด public ุฒูŠูƒ
266
00:22:48,900 --> 00:22:51,980
ูŠุนู†ูŠ ุงู†ุง ู„ูˆ ู…ุง ูƒุชุจุชุด ูƒู„ู…ุฉ public ู‡ู… ุจูŠูƒูˆู†ูˆุง
267
00:22:51,980 --> 00:22:55,860
ุจูŠูƒูˆู†ูˆุง ู…ุนุงู…ูˆู„ูŠู† public ุทุจ ุงูŠุด ูŠุนู†ูŠ ูƒู„ู…ุฉ public
268
00:22:55,860 --> 00:23:00,560
ูƒู„ู…ุฉ public ู…ุนู†ุงู‡ุง ุจุงุฎุชุตุงุฑ ุดุฏูŠุฏ ุจู‚ุฏุฑ ุงูˆุตู„ู‡ู… ู…ู† ุงูŠ
269
00:23:00,560 --> 00:23:05,620
ู…ูƒุงู† ู…ู† ุงูŠ ู…ูƒุงู† ู…ุนู†ุงู‡ุง ู„ูˆ ุฑูˆุญุช ุนู„ู‰ ุงู„ main ูˆ ู‚ู„ุชู„ู‡
270
00:23:05,620 --> 00:23:13,690
E1 dot ู‡ุดูˆูู‡ู… ูˆ ู‡ุณุชุฎุฏู…ู‡ู…ุชู…ุงู…ุŸ ู„ูƒู† ู„ูˆ ุฃู†ุง ุฑูˆุญุช ู„ุฃูŠ
271
00:23:13,690 --> 00:23:16,810
ูˆุงุญุฏ ู…ู† ู‡ุฏูˆุก .. ู„ูˆ ู†ูุณ ุงู„ attributes ูˆุญุทูŠุชู‡ู… ุจุฏู„
272
00:23:16,810 --> 00:23:19,870
ู…ุง ู‡ูŠ public ูƒุชุจุช ุฅูŠุดุŸ private
273
00:23:38,660 --> 00:23:43,540
ู‡ู†ุง ุญุทูŠุชู‡ู… ูƒู„ู‡ู… private ู„ุฃู† ุฃูˆู„ ู…ุง ุนู…ู„ุช ุฒูŠ ู‡ูŠูƒ ุตุงุฑ
274
00:23:43,540 --> 00:23:49,500
ุนู†ุฏูŠ ุฎุทุฃ ูˆูŠู†ุŸ ููŠ ุงู„ู…ูŠู† ู„ูŠุดุŸ ุชุนุงู„ู‰ ุดูˆู ุงู„ุขู† ู„ูˆ ุฃู†ุง
275
00:23:49,500 --> 00:23:55,760
ู‚ู„ุชู„ู‡ E1 dot ุฃูŠู† ุฑุงุญูˆุงุŸ ุจุทู„ูˆุง ูŠุจูŠู†ูˆุง ุจุงู„ู…ุฑุฉ ุงุฎุชููˆุง
276
00:23:55,760 --> 00:23:58,720
ู„ูŠุด ุงุฎุชููˆุงุŸ ู„ุฃู†ู‡ ุญุทูŠุชู‡ู… private ุงูŠุด ู‡ู†ุงูƒ ูƒู„ู…ุฉ
277
00:23:58,720 --> 00:24:02,160
privateุŸ ุฎุงุตุŒ ูŠุนู†ูŠ ุฎุจูŠู‡ู…ุŒ ุฏูŠ ูŠุฌูŠ ูŠู‚ูˆู„ูˆุง ุฎุจูŠู‡ู…ุŒ ู‡ุฐูŠ
278
00:24:02,160 --> 00:24:06,740
ุญุงุฌุฉ privateุŒ ุญุงุฌุฉ ุฎุงุต ุทุจ ูˆ ุงู„ุญู„ ู…ุง ู‡ูˆ ุงุญู†ุง ..
279
00:24:06,740 --> 00:24:10,750
ุงุตู„ุง ู„ูŠุด ุนุงู…ู„ูŠู†ู‡ู… ุงุญู†ุงุŸุนุดุงู† ู†ุญุท ููŠู‡ู… ุจูŠุงู†ุงุช ูˆ ู†ู‚ุฑุฃ
280
00:24:10,750 --> 00:24:15,330
ู…ู†ู‡ู… ุจูŠุงู†ุงุช ุทุจุนุง ุนู„ู‰ ุทูˆู„ ู‚ุงู„ู„ูŠ ู‡ุฏูˆู„ ุฃู†ุง ุบู„ุท ุญุชู‰ ุญุท
281
00:24:15,330 --> 00:24:18,890
ุงู„ู…ุงูˆุณ ุนู„ูŠู‡ ุฅูŠุด ุจูŠู‚ูˆู„ู„ูŠ ุฏู‡ ุงุณุชููŠุฏ ู…ู† ุงู„ุฎุทุฃ name
282
00:24:18,890 --> 00:24:23,070
has private access name has private access ูŠุนู†ูŠ
283
00:24:23,070 --> 00:24:27,870
ุงู„ูˆุตูˆู„ ุฅู„ูŠู‡ุง private ู…ุงุจุชู‚ุฏุฑุด ุชุนุจูŠู‡ุง ุฒูŠูƒ ุทุจ ุงู„ุญู„
284
00:24:27,870 --> 00:24:34,210
ุจูŠู‚ูˆู„ู„ูŠ ุฃูˆ ู‚ุจู„ ู…ุง ู†ูˆุตู„ ู„ู„ุญู„ุจู†ุตุญูˆุง ุฏุงูŠู…ุง ููŠ ุงู„ู€
285
00:24:34,210 --> 00:24:36,810
object oriented programming ุฎู„ู‘ูŠ ุงู„ attributes
286
00:24:36,810 --> 00:24:41,850
ุจุชุงุน ุงู„ class ุฏุงูŠู…ุง private ู…ุด ู„ุงุญุธุด ุจู‚ูˆู„ ุฎู„ู‘ูŠู‡ุง
287
00:24:41,850 --> 00:24:45,350
ุฏุงูŠู…ุง private ูˆ ุงุญู†ุง ุจู‚ูˆู„ ุทุจ ุงู†ุช ูƒู†ุช ุชุนู„ู…ู†ุง ุบู„ุท
288
00:24:45,350 --> 00:24:48,790
ูŠุนู†ูŠ ุงู†ู†ุง ู…ู† ุชู„ุช ู…ุญุงุถุฑุงุช ูˆ ุงุญู†ุง ุจู†ุฎู„ูŠู‡ู… ุงูŠุด public
289
00:24:48,790 --> 00:24:51,130
ูˆ ุจู†ุณุชุฎุฏู…ู‡ู… ูˆ ุจู†ุญุท ููŠู‡ู… ุนุงุฏูŠ ู…ุงุดูŠ ู‡ุฐุง ููŠ ุงู„ุจุฏุงูŠุฉ
290
00:24:51,130 --> 00:24:56,290
ุจุณ ุงู„ุขู† ู‡ู… ุจู†ุตุญูˆุง ูˆ ุจู‚ูˆู„ ุฎู„ู‘ูŠู‡ู… private ูˆ ุฃุนุฏู‘ู„ู‡ู…
291
00:24:56,290 --> 00:25:01,730
ูˆ ุฃูˆุตู„ู„ู‡ู… ู…ู† ุฎู„ุงู„ methodsูƒูŠู ูŠุนู†ูŠุŸ ูŠุนู†ูŠ ุงุชุทู„ุน
292
00:25:01,730 --> 00:25:05,090
ู…ุนุงูŠุง ู‡ู†ุงุŒ ุงุฑุฌุน ุนู„ู‰ ุงู„ู€ name ุงู„ุขู† ู‚ูˆู„ุง ูˆุงุญุฏุงู‹ ุงู„
293
00:25:05,090 --> 00:25:09,210
name ู…ุณุชุญูŠู„ ุฃู‚ุฏุฑ ุฃูˆุตู„ู‡ ูŠุนู†ูŠ ุนู…ุฑูƒ ู…ุงุจุชู‚ุฏุฑ ุชู‚ูˆู„ู‡ ุญุท
294
00:25:09,210 --> 00:25:11,990
ููŠ ุงู„ name ุฃุญู…ุฏ ูˆู„ุง ุชู‚ุฏุฑ ุชู‚ูˆู„ู‡ ุงุทุจุนู„ูŠ name ุฎู„ุงุต ู‡ูˆ
295
00:25:11,990 --> 00:25:17,950
ู…ุด ุดุงูŠู ุญุงุฌุฉ ุงุณู…ู‡ุง name ุทูŠุจ ูˆ ุงู„ุญู„ุŸ ุงู„ุญู„ ุฃู†ู‡ ู…ุฏุงู…
296
00:25:17,950 --> 00:25:21,530
ุงู„ name ุงู„ุขู† ู…ุณูƒุฑ ุจุฏูŠ ุฃุนู…ู„ ุจูˆุงุจุฉ ู„ู„ูˆุตูˆู„ ู„ู‡ ู…ูŠู†
297
00:25:21,530 --> 00:25:25,690
ุงู„ุจูˆุงุจุฉ ู‡ุฐู‡ ู‡ุชูƒูˆู†ุŸ ู‡ู†ูŠุฌูŠ ู‡ู†ุง ููŠ ุงู„ class ู†ูุณู‡ุง ูˆ
298
00:25:25,690 --> 00:25:31,730
ู‡ู†ุนู…ู„ ู„ู„ name two methodsูˆุงุญุฏุฉ method ุจุชุนุฏู‘ู„ ู‚ูŠู…ุฉ
299
00:25:31,730 --> 00:25:36,950
ุงู„ name ูˆุงู„ุชุงู†ูŠุฉ ู„ู‚ุฑุงู‚ุฉ ู‚ูŠู…ุฉ ุงู„ name ู‡ุฐุง ู„ุฅูŠุดุŸ ู„ูƒู„
300
00:25:36,950 --> 00:25:40,910
attribute ูŠุนู†ูŠ ู…ุซู„ุง ุงู„ name ุทุงู„ุน ู…ุนุงูŠุง ู‡ู†ุนู…ู„
301
00:25:40,910 --> 00:25:44,470
method ุฒูŠู‡ public ู‡ุง ู„ุงุญุธ ุงู„ method ุฅูŠุด ู†ูˆุนู‡ุง
302
00:25:44,470 --> 00:25:48,570
public ูŠุนู†ูŠ ุจู‚ุฏุฑ ุฃุณุชุฎุฏู…ู‡ุง ุงู„ method ูˆู„ุง ู„ุฃุŸ ุจู‚ุฏุฑ
303
00:25:48,570 --> 00:25:52,490
ุทูŠุจ ุงู„ method ู‡ุฐู‡ ุดูƒู„ู‡ุง ูƒุงู„ุชุงู„ูŠ ุจุฏูŠ ุฃุนู…ู„ู‡ุง void
304
00:25:52,490 --> 00:26:00,370
set name string inุทูŠุจุŒ ู…ูŠู† ูŠู‚ูˆู„ู„ูŠ ู‡ุฐุง ุงู„ method
305
00:26:00,370 --> 00:26:08,630
ุฅูŠุด ุจุชุฑุฌุนุŸ ู„ุฃุŒ ุจุชุฑุฌุนุงุด ุญุงุฌุฉุŒ ุฅูŠุด ุจุชุงุฎุฏุŸ ุจุชุงุฎุฏ ุงู„
306
00:26:08,630 --> 00:26:14,250
string ุงู„ุงู†ุŒ ุจุงู„ุฏุฌุฉ ุฃู‚ูˆู„ ู„ู‡ name ูŠุณุงูˆูŠ in ุฃูˆ this
307
00:26:14,250 --> 00:26:20,030
dot name ู‡ูŠ ู‡ูŠุŒ ุตุญ ูˆู„ุงุŸ ูŠุณุงูˆูŠ in ุทุจุนุงุŒ ู„ุงุญุธ ุฃู†ู‡
308
00:26:20,030 --> 00:26:24,900
ู„ู…ุง ุฃู‚ูˆู„ ู„ู‡ thisุจุจูŠู† ู‡ู†ุง ูŠุนู†ูŠ ู…ู† ุฌูˆุง ุงู„ object ุฅูŠุด
309
00:26:24,900 --> 00:26:29,440
ุจู‚ุฏุฑ ุฃุดูˆูู‡ุง ุญุชู‰ ู„ูˆ ุฅูŠุด public ู„ุฃู† ู‡ุฏูˆู„ ู…ูˆุฌูˆุฏูŠู† ู…ุน
310
00:26:29,440 --> 00:26:34,700
ุจุนุถ this.name ูŠุณูˆุก in ุทุจ ุงู„ู„ูŠ ุฃู†ุช ุดุงูŠูู‡ ู‡ุงู„ gate
311
00:26:34,700 --> 00:26:38,260
ุฅูŠุด ู‡ุฐุง ุงู„ method ุจุชุนู…ู„ุŸ ู…ูŠู† ูŠู‚ูˆู„ู„ูŠ ุฅูŠุด ุงู„ method
312
00:26:38,260 --> 00:26:44,460
ู‡ุฐูŠ ุจุชุณูˆูŠุŸ ุจุชุญุท ู‚ูŠู…ุฉ ููŠ ุงู„ name ุจุณ ู…ู† ูˆูŠู† ุงู„ู‚ูŠู…ุฉ
313
00:26:44,460 --> 00:26:48,600
ู‡ุฐูŠ ู‡ุชูŠุฌูŠุŸู…ู† ุงู„ู„ูŠ ู‡ุณุชุฏุนูŠ ุงู„ู€ method ุตุญุŸ ุฃู†ุง ู„ู…ุง
314
00:26:48,600 --> 00:26:52,140
ุงุณุชุฏุนูŠ ุงู„ู€ method set name ู‡ุจุนุฏ ู‚ูŠู…ุฉ ูˆ ู‡ุชู†ุญุท win
315
00:26:52,140 --> 00:26:56,680
ููŠ this dot name ู‡ู„ ููŠ ุฏุงุนูŠ ุงู„ู€ method ู‡ุฐู‡ ุชุฑุฌุญ
316
00:26:56,680 --> 00:27:00,800
ุญุงุฌุฉุŸ ู„ุฃุŒ ู‡ูŠ ู…ุนู…ูˆู„ุฉ ู„ุฅูŠุดุŒ ุนุดุงู† ุชุญุท ููŠ ุงู„ู€ name
317
00:27:00,800 --> 00:27:08,200
ู‚ูŠู…ุฉ ุงุณุชุฎุฏู…ุช ุงู„ู€ method ู‡ุฐู‡ุŸุงุณุชุฎุฏู…ุชู‡ุง ุงู†ุง ู„ุณู‡ ุงู†ุง
318
00:27:08,200 --> 00:27:11,700
ุงู†ุดู‚ุชู‡ุง ูˆ ุงู†ุง ุงุณุชุฎุฏุงู…ู‡ุง ููŠ ุงู„ main ุจู†ูŠุฌูŠ ุนู„ู‰ ุงู„
319
00:27:11,700 --> 00:27:15,240
main ูˆ ุจู†ู‚ูˆู„ ู„ู‡ ู‡ู„ ุฌูŠุช ู‡ู†ุง ุงู†ุง ุจุถุฃ ุญุท ููŠ ุงู„ name
320
00:27:15,240 --> 00:27:20,140
ุจุชุงุน ุงู„ object E1 ูƒู„ู…ุฉ ุงุญู…ุฏ ูƒูŠูุŸ ุจุฑูˆุญ ู„ E1 E1 ูˆ E2
321
00:27:20,140 --> 00:27:24,640
ุบู„ุท ู‡ุฐ ุงู„ู„ูŠ ููˆู‚ ู‡ุฐ ุงุชูู‚ู†ุง ุงู†ู‡ุง ู…ุงู„ู‡ุง ู‡ุฐ ุบู„ุท ุงูŠุด
322
00:27:24,640 --> 00:27:29,320
ุงู„ุจุฏูŠู„ ุนู†ู‡ุงุŸ ุงู‚ูˆู„ ู„ู‡ E1 ูˆ ุงุณุชุฎุฏู… ุงู„ method ุงูŠุดุŸ
323
00:27:29,320 --> 00:27:32,540
set name ูˆ ุงุจุนุชู„ู‡ ุงุญู…ุฏ
324
00:27:34,960 --> 00:27:38,600
ู„ู‚ูŠุช ุงู„ู€ method set name ุฃุฎุฏุช ุฃุญู…ุฏ ูˆู‡ูŠ ุฅูŠุฌูŠู†ุง ู‡ู†ุง
325
00:27:38,600 --> 00:27:46,840
ุฃุญู…ุฏ ุงู„ุฎุฒู† ูˆูŠู† ููŠ this dot name ุทูŠุจ ุงุญู†ุง ู‡ู†ุง ุญุทูŠู†ุง
326
00:27:46,840 --> 00:27:50,720
ู‚ูŠู…ุฉ ููŠ ุงู„ name ุทูŠุจ ุงูุฑุถ ุงู†ุง ุจุฏุฃ ุฃุฑูˆุญ ุฃุทุจุน ุงู„ name
327
00:27:50,720 --> 00:27:58,450
ุงู„ุงู† ูƒูŠู ุจู†ุทุจุน ุงุญู†ุง system dot out dot printlnุงู„ุฃู†
328
00:27:58,450 --> 00:28:03,890
E1.name ุบู„ุท ู„ุฃู†ู‡ ู…ุง ุจุดูˆูุด ุงู„ name ู„ุฃ set name ู„ูˆ
329
00:28:03,890 --> 00:28:08,530
ุฌูŠุชูˆู„ู‡ set name ุชู…ุงู… ู‡ุฐูŠ ู„ุฅูŠุด ุฃู†ุง ุฃุนู…ู„ู‡ุง ุงู„
330
00:28:08,530 --> 00:28:11,270
methodุŸ ู‡ุฐูŠ ู…ุด ู„ุฃ ู…ุฎุฑุฌ ุฃุตู„ุง ุฃู†ุง ุนู…ู„ู‡ุง ุจุณ ุนุดุงู† ุฃุถุน
331
00:28:11,270 --> 00:28:15,890
ู‚ูŠู…ุฉ ููŠ ุงู„ name ูุจุฏู†ุง ุฅูŠุด ู†ุนู…ู„ุŸ ุจุฏู†ุง ู†ุนู…ู„ ูƒู…ุงู†
332
00:28:15,890 --> 00:28:22,350
method ุฅูŠุด ุจุฏู‡ุง ุชุฑุฌุนุŸ ู„ูŠุด ุนู…ู„ู‡ุง ุฃู†ุงุŸ ุนุดุงู† ุชู‚ุฑุฃ ู„ู„
333
00:28:22,350 --> 00:28:28,890
name ุจุฎู„ูŠู‡ุง ุชุฑุฌุน ุงู„ string ุฅูŠุด ุงุณู…ู‡ุงุŸ get nameู‡ุฐู‡
334
00:28:28,890 --> 00:28:36,250
ูƒุงุณูŠุช name ูˆู‡ุฐู‡ get name ุฅูŠุด ุจุชุงุฎุฏุŸ ูˆู„ุง ุญุงุฌุฉ ุฃู†ุง
335
00:28:36,250 --> 00:28:42,350
ู„ูŠุด ุนู…ู„ู‡ุงุŸ ุนุดุงู† ุจุณ ุฃู‚ูˆู„ู‡ุง return name
336
00:28:42,350 --> 00:28:48,910
string get name return name ุจุณ ู‡ุฐุง method ุจุณูŠุท ุฌุฏุง
337
00:28:48,910 --> 00:28:53,390
ู…ุนู…ูˆู„ุฉ ู„ูŠุดุŸ ุนุดุงู† ุฃุชุฑุฌุน ู„ู„ name ู‡ุฐุง method ู…ุงููŠุด
338
00:28:53,390 --> 00:29:01,680
ุณุทุฑ ูˆุงุญุฏ ุจุณ ุนุดุงู† ุฃุชุฑุฌุน ู„ูŠ ุงู„ nameุงู„ุงู† ุชุนุงู„ู‰ ู‡ู†ุง ูˆ
339
00:29:01,680 --> 00:29:08,240
ุจุชู‚ูˆู„ู‡ E1.getname ุฅูŠุด ู‡ูŠุนู…ู„ ู‡ู†ุงุŸ ู‡ูŠุทุจุน ู„ูŠู‡ ุงู„ name
340
00:29:08,240 --> 00:29:13,820
ุฃู†ุง ุงู„ู„ู‰ ุตูˆูŠุชู‡ ูุนู„ูŠุง ูŠุง ุฌู…ุงุนุฉ ุฅู† ุญุทูŠุช ุงู„ name
341
00:29:13,820 --> 00:29:17,340
private ูˆ ุจุนุฏูŠู† ุนู…ู„ุช two methods ูˆุงุญุฏุฉ ุงุณู…ู‡ุง
342
00:29:17,340 --> 00:29:21,320
setname ุนุดุงู† ุฃุญุท ู‚ูŠู…ุฉ ููŠ ุงู„ name ูˆ ูˆุงุญุฏุฉ ุงุณู…ู‡ุง
343
00:29:21,320 --> 00:29:27,660
getname ุนุดุงู† ุฃู‚ุฑุฃ ู‚ูŠู…ุฉ ุงู„ name ู‡ุฐุง ุจุณ ู„ู…ู†ุŸู„ู† name
344
00:29:27,660 --> 00:29:31,160
ู‡ุฐุง ุงู„ูƒู„ุงู… ุจูŠุนู…ู„ู‡ ู„ู…ูŠู† ูŠุง ุฌู…ุงุนุฉ ู„ูƒู„ ุงู„ attributes
345
00:29:31,160 --> 00:29:36,020
ุงู„ู„ูŠ ููˆู‚ ู…ุซู„ุง ุนู†ุฏูŠ ุงู†ุง attribute ุงุณู…ู‡ุง id ุงูŠุด
346
00:29:36,020 --> 00:29:39,380
ู†ูˆุนู‡ุง ุงู„ id ุงูˆ ุฎู„ูŠู†ุง ู†ุงุฎุฏ ุงู„ age ู…ุซู„ุง ุงู„ age ุงูŠุด
347
00:29:39,380 --> 00:29:45,340
ู†ูˆุนู‡ integer ูุจู†ุฑูˆุญ ุจุฑุถู‡ ู†ุนู…ู„ method public void
348
00:29:45,340 --> 00:29:52,610
ุงุณู…ู‡ุง set age ุฏุงูŠู…ุง ุงู„ set ุจุชูƒูˆู† void ู„ูŠุดุŸุฃู†ุง ุจุฏูŠุด
349
00:29:52,610 --> 00:29:55,390
ุฃุฑุฌุน ู…ู†ู‡ุง ู‚ูŠู…ุฉ ุฃู†ุง ุจุณ ุนุงู…ู„ู‡ุง ุนุดุงู† ุฃุญุท ู‚ูŠู…ุฉ ููŠ
350
00:29:55,390 --> 00:29:59,150
ุงู„ู…ุชุบูŠุฑ ุนุดุงู† ุฃู…ุฑุฑ ู‚ูŠู…ุฉ ุชู…ุงู…ุŸ set age ุฅูŠุด ู‡ุชุงุฎุฏ
351
00:29:59,150 --> 00:30:04,930
ู‡ู†ุงุŸ integer a ู„ูŠุด ู…ุฑุฑุช ุงู„ integer ู‡ุฐุงุŸ ุนุดุงู† ุฃุฎุฏู‡
352
00:30:04,930 --> 00:30:09,030
ูˆ ุฃุญุทู‡ ูˆูŠู†ุŸ ููŠ ุงู„ age ุจุฏูŠ ุฃู‚ูˆู„ ู„ู‡ this dot age
353
00:30:09,030 --> 00:30:14,170
ูŠุณุงูˆูŠ a ู‡ุฐุง ุนุดุงู† ุฃุนุจู‚ ู‚ูŠู…ุฉ ููŠ ุงู„ age ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ
354
00:30:14,170 --> 00:30:18,050
ุฃู‚ุฑุฃ ู‚ูŠู…ุฉ ุงู„ age public ุงู„ู„ูŠ ุฃู†ุง .. ุฅูŠุด ู‡ุชุฑุฌุนูŠ ุงู„
355
00:30:18,050 --> 00:30:24,330
method ู‡ุฐู‡ุŸInteger ุฅูŠุด ุงุณู… ุงู„ methodุŸ getAge ุฅูŠุด
356
00:30:24,330 --> 00:30:28,570
ุจุชุงุฎุฏุŸ ูˆู„ุง ุญุงุฌุฉ ุฃู†ุง ู„ูŠุด ุนุงู…ู„ ุงู„ get ู‡ุฐู‡ ุนุดุงู† ุฃู‚ูˆู„ู‡
357
00:30:28,570 --> 00:30:33,310
ุจุณ return Age ุฃูˆ return this dot Age
358
00:30:38,290 --> 00:30:41,810
ุฃู‡ ุงู†ุง ู‡ุฑุฌุนูƒูˆุง .. ูŠุนู†ูŠ ุฃูƒูŠุฏ ููŠ ุนู‚ูˆู„ูƒูˆุง ูƒู„ูƒูˆุง
359
00:30:41,810 --> 00:30:44,310
ุจุชู‚ูˆู„ูˆุง ุทุจ ู„ูŠุด ุงู„ู„ูุฉ ู‡ุฐูŠุŸ ูˆูŠู† .. ูŠุนู†ูŠ ูˆูŠู† ุฏุงู†ูƒ ูŠุง
360
00:30:44,310 --> 00:30:48,470
ุฌุญูŠู…ุŸ ุฃู‡ ุทุจ ู…ุง ุฅุญู†ุง ู†ูƒูˆู† ู…ุจุณุทูŠู† ูˆ ู‡ุฏ ู…ุนู…ูˆู„ public
361
00:30:48,470 --> 00:30:53,030
ูˆ ุจู†ุญุท ููŠู‡ ูˆ ุจู†ุฌุฑู‰ ู…ู†ู‡ ุฅู„ุง ูŠุนู†ูŠ ุชุนุฌุฏู‡ุง ุชุญุท private
362
00:30:53,030 --> 00:30:57,390
ูˆ ุชุนู…ู„ูŠ ุจุงุจ ูŠุฏุฎู„ ุนู„ู‰ .. ุฒูŠ ุงู„ู„ูŠ ุฅูŠุด ุงู„ู„ูŠ ุณูƒุฑ ุนู„ูŠู‡
363
00:30:57,390 --> 00:31:01,850
ููŠ ุบุฑูุฉ ูˆ ุนู…ู„ ุนู„ูŠู‡ ุจุงุจ ู„ู„ .. ูŠุฏุฎู„ ู…ู†ู‡ ุจุงุจ ุฅูŠุดุŸ ุจุงุจ
364
00:31:01,850 --> 00:31:05,690
ูŠุทู„ุน ุตุญ ูˆู„ุง ู„ุฃุŸ ู‡ุฏูˆู„ ุจุงุจูŠู† ู…ุด ู‡ุฏูˆู„ ุจุงุจูŠู† ู„ู…ูŠู†ุŸ
365
00:31:05,690 --> 00:31:10,790
ู„ู„ู†ุงู…ุจุงุจ ุจุฏุฎู„ ุนู„ู‰ ุงู„ู†ุงู… ูˆ ุจุงุจ ุจูŠุฌูŠุจ ู„ู„ู†ุงู… ูˆู‡ุฐุง ู†ูุณ
366
00:31:10,790 --> 00:31:16,850
ุงู„ุญุงุฌุฉ ุงู„ age ู„ู‡ ุจุงุจูŠู† ุจุฑุถู‡ ุทูŠุจ ู„ูŠุด ุงู„ุบู„ุจุฉ ู‡ุฐู‡ุŸ
367
00:31:16,850 --> 00:31:20,970
ุทูŠุจ ุงู„ุบู„ุจุฉ ู‡ุฐู‡ ู„ูŠุด ูŠุง ุฌู…ุงุนุฉุŸ ู‡ู„ุฌูŠุช ุฅุฐุง ุฃู†ุง ุงู„
368
00:31:20,970 --> 00:31:24,990
scope ุชุจุน ุงู„ู…ุชุบูŠุฑ ู…ูุชูˆุญ ุชู…ุงู…ุŸ ู…ุงููŠุด restrictions
369
00:31:24,990 --> 00:31:28,670
ุฅูŠุด ู†ูˆุน ุงู„ data ุงู„ู„ูŠ ุจุญุทู‡ุง ุงู„ู…ุณุชุฎุฏู…ุŸ ูŠุนู†ูŠ ู…ุซู„ุง ุฅุฐุง
370
00:31:28,670 --> 00:31:34,390
ูƒุงู† ุงู„ูˆุถุน ุฒูŠ ู‡ูŠูƒ ู…ู…ูƒู† ุฃุฌูŠ ุฃู†ุง ู„ู„ age ูˆ ุฃุญุท ููŠู‡
371
00:31:34,390 --> 00:31:34,930
ุนู…ุฑูŠ ุฃู†ุง
372
00:31:38,450 --> 00:31:47,050
60 ุณู†ุฉ ุงูˆ 150 ุณู†ุฉ ุงูˆ ู†ุงู‚ุต 20 ุณู†ุฉ ุญุฏ ุจูŠู‚ุฏุฑ ูŠู…ู†ุนู†ูŠ
373
00:31:47,050 --> 00:31:52,850
ุงู† ุงุนู…ู„ ู‡ูŠูƒ ู„ูˆ ุงูŠุด ู‡ุฐุง ู„ูˆ ุงู† ุงู„ age ู…ุนู…ูˆู„ public
374
00:31:52,850 --> 00:31:57,930
ู„ูˆ ู‡ุฐุง public ุจุตูŠุฑ
375
00:31:57,930 --> 00:32:04,030
ุงุญุท ุงู„ู‚ูŠู… ุงู„ู„ูŠ ุจุฏูŠู‡ุงุตุญุŸ ุญุฏ ุจู…ู†ุนู†ูŠุŸ ู„ุฃ ุทุจุนุง ูˆุงุญุฏ
376
00:32:04,030 --> 00:32:07,810
ุจูŠู‚ูˆู„ ุฅูŠุด ู…ู…ูƒู† ุชุนู…ู„ ู…ู…ูƒู† ุชูŠุฌูŠ ุชู‚ูˆู„ู‡ F ุงู„ู‚ูŠู… ุงู„ู„ูŠ
377
00:32:07,810 --> 00:32:13,210
ุฏุฎู„ู‡ุง ุงู„ู…ุณุชุฎุฏู… ุฃูƒุจุฑ ู…ู† ุฃูˆ ุฃุตุบุฑ ู…ู† 0 ุทู„ุนู„ู‡ ุฅูŠุดุŸ
378
00:32:13,210 --> 00:32:17,110
ุทู„ุนู„ู‡ error ุตุญูŠุญ ุจุณ ุงู„ุฃูุถู„ ุฃู† ุงู„ F ู‡ุฐู‡ ู…ุง ุชู†ุญุทุด
379
00:32:17,110 --> 00:32:22,250
ู‡ู†ุง ุงู„ุฃูุถู„ ุฃู† ุฃู†ุช ุชุญุทู‡ุง ููŠ ุงู„ class ุฃูŠ ุญุงุฌุฉ ุงู„ู„ูŠ
380
00:32:22,250 --> 00:32:26,330
ู„ู‡ุง ุนู„ุงู‚ุฉ ุจุดุฑูˆุท ุงู„ู…ุชุบูŠุฑุงุช ุชู†ุญุท ูˆูŠู† ููŠ ุงู„ class
381
00:32:26,330 --> 00:32:30,460
ุฃูุถู„ ูƒูŠูุŸ ุจุชูŠุฌูŠ ู‡ู†ุง ููŠ ุงู„ employeeูˆุจู†ุญุท ู‡ุฏู ู†ุฑุฌุญู‡ุง
382
00:32:30,460 --> 00:32:35,180
ุงูŠุดุŸ private ุงู„ุขู† ุจู†ูŠุฌูŠ ู‡ู†ุง ููŠ ุงู„ set age ุชู…ุงู…ุŸ
383
00:32:35,180 --> 00:32:39,720
ุจู†ู‚ูˆู„ ู„ู‡ if ุดุงูŠููŠู† ูˆูŠู† ุฃู†ุง ุดุบุงู„ุŸ ููŠ ุงู„ set age
384
00:32:39,720 --> 00:32:44,080
ู…ุฑุฑุช ุงู„ a ู…ูŠู† ุงู„ a ู‡ุฐู‡ุŸ ุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ุจุนุชู‡ุง ุงู„ู…ุณุชุฎุฏู…
385
00:32:44,080 --> 00:32:49,900
ููŠ ุงู„ู…ูŠู† ุจูŠู‚ูˆู„ู‡ ุฅุฐุง ุงู„ a ู‡ุฐู‡ ุฃุตุบุฑ ู…ู† ุตูุฑ and ุงู„ a
386
00:32:49,900 --> 00:32:51,680
ุฃูƒุจุฑ ู…ู† 100 or
387
00:32:54,930 --> 00:33:01,310
or ุงู„ู€ A ุฃูƒุจุฑ ู…ู† 100 ุงุทุจุนู„ูŠ system.out.println
388
00:33:01,310 --> 00:33:11,450
invalid age else .. else
389
00:33:11,450 --> 00:33:16,430
ุฅูŠุด ูŠุนู…ู„ุŸ ู„ุฃ ุจุนู…ู„ ุญุงุฌุฉ ุฅูŠุด ุจูŠุณูˆูŠ ู„ูˆ elseุŸ ุจุญุท ุงู„ A
390
00:33:16,430 --> 00:33:20,150
ููŠ ุงู„ age ูŠุนู†ูŠ ุงู„ A ู…ุง ู„ู‡ ูŠูƒูˆู† ุตุญูŠุญ ุชู…ุงู…ุŸ ู‡ุฐุง ูˆูŠู†
391
00:33:20,150 --> 00:33:24,960
ุงู„ุชุญู‚ู‚ ุญุทูŠุชู‡ุŸููŠ ุงู„ู€ method ูุงู„ุจุงุจ ู‡ุฐุง ุงู„ู„ูŠ ุฃู†ุง
392
00:33:24,960 --> 00:33:31,180
ุญุงุทู‡ ุนุดุงู† ู…ุงูŠุฏุฎู„ุด ู…ูŠู† ู…ู‡ุจู‡ ูˆ ุฏุจ ุนู„ู‰ ู…ูŠู† ุฌูˆุง ุตุญ ูˆู„ุง
393
00:33:31,180 --> 00:33:36,120
ู„ุง ุงู„ุจุงุจ ู‡ุฐุง ูุญุต ุชุนุงู„ ุงู†ุช ู†ุนู…ู„ check ู…ุณู…ูˆุญ ู„ูƒ ุชุฏุฎู„
394
00:33:36,120 --> 00:33:40,380
ูˆู„ุง ู„ุง ุฅุฐุง ู…ุณู…ูˆุญ ุชูุถู„ ุชู…ุงู…ุŸ ู‚ุจู„ ูƒุงู† ุงู„ variable
395
00:33:40,380 --> 00:33:43,940
ู…ูุชูˆุญ ุนู„ู‰ ุงู„ุจุญุฑ ู…ูŠู† ุจุฏู‡ ูŠุญุท ุนู„ูŠู‡ ููŠู‡ ู‚ูŠู… ูŠุญุท ูุฌุช
396
00:33:43,940 --> 00:33:49,260
ู„ุฃ ุณูƒุฑู†ุง ุนู„ูŠู‡ ุจุฅูŠุดุŸ ุจ methods ุฅูŠุด ุจู†ุณู…ูŠู‡ู… ู‡ุฏูˆู„ ุงู„
397
00:33:49,260 --> 00:33:53,650
methods? settersุŸูˆ getters setters ุนุดุงู† ุฅูŠู‡ุŸ ุนุดุงู†
398
00:33:53,650 --> 00:33:58,570
ู†ุญุท ู‚ูŠู…ุฉ getters ู„ูŠุดุŸ ุนุดุงู† ู†ู‚ุฑุฃ ู‚ูŠู…ุฉ ู„ุฃู† ุฒูŠ ู…ุง
399
00:33:58,570 --> 00:34:03,010
ุนู…ู„ู†ุง ู„ู„ name ูˆ ุงู„ .. ูˆ ุงู„ age ู„ูƒู„ ุงู„ุจุงู‚ูŠ ุจุฏู†ุง
400
00:34:03,010 --> 00:34:09,970
ู†ุดุชุบู„ ุฒูŠ ู‡ูŠูƒ ุตุญุŸ ุชุนุงู„ูˆุง ู†ุนู…ู„ ูˆุงุญุฏุฉ ูƒู…ุงู† ูƒูŠูุŸ
401
00:34:09,970 --> 00:34:14,450
ุชู…ุงู… ู‡ูˆ ุงู„ุฃุตู„
402
00:34:15,810 --> 00:34:18,130
ููŠ ุงู„ู„ุญุธุฉ ุงู„ู„ูŠ ุงู†ุช ู…ุญุชุงุฌ ู‚ูŠูˆุฏ ุจุชุถูŠูู‡ุง ุนู„ู‰ ุงู„
403
00:34:18,130 --> 00:34:21,470
method ููŠ ุฃุจุณุท ุตูˆุฑุฉ ู‡ุฐุง ุงู„ method ุฅูŠุด ู‡ูŠ ุจุชุนู…ู„ุŸ
404
00:34:21,470 --> 00:34:28,610
ุจุชุญุท ุงู„ู‚ูŠู…ุฉ ูˆ ุจุชุฑุฌุน ุงู„ู‚ูŠู…ุฉ ุชู…ุงู… ุชุนุงู„ูˆุง ู†ุงุฎุฏ ูˆุงุญุฏุฉ
405
00:34:28,610 --> 00:34:32,250
ุชุงู†ูŠุฉ number of children ู‡ุฐู‡ ุจุฑุถู‡ ุญุทู†ุงู‡ุง private
406
00:34:32,250 --> 00:34:35,670
ุฅูŠุด ุจุฏู‡ ุฃุนู…ู„ ุงู„ุขู† ูŠุง ุฌู…ุงุนุฉุŸ two methods ูˆุงุญุฏุฉ set
407
00:34:35,670 --> 00:34:39,730
ูˆูˆุงุญุฏุฉ get ุฅุฐุง ู†ุจุฏุฃ ุจุงู„ set public ุฅูŠุด ุจุชุฑุฌุน ุงู„
408
00:34:39,730 --> 00:34:47,550
setุŸ void ุงุณู…ู‡ุง set number ofchildren ุฅูŠุด ุจุชุงุฎุฏ
409
00:34:47,550 --> 00:34:54,310
integer ูˆู„ูŠูƒู† n ุชู…ุงู…ุŸ ูˆุฅู† ุจู†ุญุท ุงู„ n ู‡ุฐุง this dot
410
00:34:54,310 --> 00:35:00,650
number of children ูŠุณุงูˆูŠ n ู…ุนุงูŠุง ู‚ู„ุช ู„ู‡ุง ูŠุง ุฌู…ุงุนุฉุŒ
411
00:35:00,650 --> 00:35:05,770
ู‡ุงูŠ ุงู„ six ู„ู…ุง ุจู†ุนู…ู„ ุจุฑุถู‡ method get public ุงู„ get
412
00:35:05,770 --> 00:35:09,610
ู‡ุชุฑุฌุน ุงู„ู‚ูŠู…ุฉ ูŠุจู‚ู‰ ู„ุงุฒู… ุชูƒูˆู† ุงู„ู…ุฑุฌุน ุฅูŠุดุŸ integer
413
00:35:09,610 --> 00:35:16,130
ุงุณู… ุงู„ method get number ofchildrenุŒ ุฅูŠุด ู‡ุชุงุฎุฏุŸ ุงู„
414
00:35:16,130 --> 00:35:22,950
get ุจุชุงุฎุฏูˆุด ุญุงุฌุฉุŒ ุชู…ุงู…ุŸ return this
415
00:35:22,950 --> 00:35:28,770
dot number of children ุจุณูŠุทุฉ
416
00:35:28,770 --> 00:35:32,770
ูŠุง ุฌู…ุงุนุฉุŒ ุตุญ ูˆู„ุง ู„ุฃุŸ ุฃู†ุชูˆุง ุงู„ุขู† ุฃูู‡ู…ุชูˆุง ุฅูŠุด ูุงูŠุฏุฉ
417
00:35:32,770 --> 00:35:35,690
ุงู„ set ูˆ ุงู„ getุŸ ุฃู†ุง ุณูƒุฑุช ุนู„ู‰ ุงู„ู…ุชุบูŠุฑุŒ ุฎู„ุชู‡
418
00:35:35,690 --> 00:35:40,110
privateูˆุนู…ู„ุช two methods public ูˆุงุญุฏุฉ ุงุณู…ู‡ุง set
419
00:35:40,110 --> 00:35:44,010
ูˆุงุญุฏุฉ ุชุจุฏุฃ ุจ set ูˆุงู„ุชุงู†ูŠ ุจุชุจุฏุฃ ุจ get ุนุดุงู† ุงู„ุฃูˆู„ู‰
420
00:35:44,010 --> 00:35:47,990
ุชุญุท ู‚ูŠู…ุฉ ููŠ ุงู„ู…ุชุบูŠุฑ ูˆุงู„ุชุงู†ูŠ ุชู‚ุฑุฃ ู‚ูŠู…ุฉ ู…ู† ุงู„ู…ุชุบูŠุฑ
421
00:35:47,990 --> 00:35:51,230
ู…ุงุดูŠ
422
00:35:51,230 --> 00:35:56,150
ูŠุง ุฌู…ุงุนุฉ ุทูŠุจ ู„ุฃู† ูˆุงุญุฏ ุจูŠู‚ูˆู„ูŠ ุฃูƒูŠุฏ ู‡ุฐุง ููŠ ุณุคุงู„ูƒู…
423
00:35:56,150 --> 00:36:00,930
ุงูุฑุถ ุฃู†ุง ุนู†ุฏูŠ ุฎู…ุณูŠู† attributes ุจุฏูŠ ุฃุฑูˆุญ ู„ูƒู„ ูˆุงุญุฏ
424
00:36:01,820 --> 00:36:04,480
ูˆุนู…ู„ูˆุง set ูˆ get ูˆ set ูˆ get ู…ุนู†ุงู‡ุง ู„ู…ุง ุงุนู…ู„ ุงู„
425
00:36:04,480 --> 00:36:08,420
class ูˆ ุจุฏู‰ ู…ู† ู‡ู†ุง ู„ู„ุณุจูˆุน ุงู„ุฌุงู‰ ู„ู…ุง ุงุฎู„ุต ูŠุนู†ูŠ ุนู†ุฏู‰
426
00:36:08,420 --> 00:36:11,160
ุฎู…ุณูŠู† attributes ู…ุนู†ุงู‡ุง ุจุฏู‰ ูƒุงู… methods set ูˆ getุŸ
427
00:36:11,160 --> 00:36:18,040
ุจูŠุฏูƒ ู…ูŠู† ุชู…ุงู…ุŸ ุงู„ุงู† ุชุนุงู„ูˆุง ูŠุง ุฌู…ุงุนุฉ ุดุงูŠููŠู† ู‡ุฐู‡
428
00:36:18,040 --> 00:36:21,840
class ุงุญู†ุง ุนู…ู„ู†ุงู‡ุง ุณุงุจู‚ุง ุงู„ู„ู‰ ู‡ู‰ ู…ูŠู†ุŸ ุจุชุงุนุฉ ู…ูŠู†ุŸ
429
00:36:21,840 --> 00:36:28,180
ุจุชุงุนุฉ ุงู„ student ู‡ุฏูˆู„ุฉ ูƒู„ู‡ู… ู…ุงู„ู‡ู… public ุตุญ ูˆู„ุงุŸ
430
00:36:28,180 --> 00:36:30,780
ุจุฏู‰ ุงุฎู„ูŠู‡ู… ุงูŠุดุŸ private
431
00:36:35,640 --> 00:36:37,200
ู„ุญุธุฉ ู„ุญุธุฉ ุดูˆูŠู‡
432
00:36:42,570 --> 00:36:45,270
ุงู„ุงู† ู„ู…ุง ุนู…ู„ู†ุงู‡ู… private ู„ุงุฒู… ู†ุนู…ู„ ุงูŠุด ู„ูƒู„ ูˆุงุญุฏุฉ
433
00:36:45,270 --> 00:36:48,790
ููŠู‡ู… ุณุชุฉ ูˆู‚ุช ูƒุงู… ูˆุงุญุฏุฉ ู‡ู… ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ุงุฑุจุน
434
00:36:48,790 --> 00:36:52,770
ุฎู…ุณุฉ ุณุชุฉ ุณุจุนุฉ ุชู…ุงู†ูŠู† ูŠุนู†ูŠ ุจุฏู†ุง ุณุช ุนุดุฑ method ุชู…ุงู…
435
00:36:52,770 --> 00:36:56,550
ุงู„ุงู† ุงุฑูˆุญ ู„ project ุงู†ุชุจู‡ ู…ุนุงูŠุง ูˆุฑูˆุญ ู„ class
436
00:36:56,550 --> 00:37:00,230
student ุดุงูŠููŠู†ู‡ุง ุงู†ุง ุงุนู„ู…ุช ุนู„ูŠู‡ุง ูˆ ุงุนู…ู„ click ูŠู…ูŠู†
437
00:37:00,230 --> 00:37:08,310
ุชู…ุงู… ูˆ ุจุชุฑูˆุญ ู‚ูˆู„ู‡ refactor ุชู…ุงู… ูˆ ุจุชุฎุชุงุฑ ุฎูŠุงุฑ ุงุณู…ู‡
438
00:37:08,310 --> 00:37:14,540
encapsulate fieldsููŠ ุฎูŠุงุฑ ุงุณู…ู‡ encapsulate fields
439
00:37:14,540 --> 00:37:17,880
ุงูŠุด ูŠุนู†ูŠ encapsulate fieldsุŸ ุฎู„ู‘ู‰ ุงู„ fields ููŠู‡
440
00:37:17,880 --> 00:37:20,900
ูƒุจุณูˆู„ุฉ ุงูŠุด ู‡ูŠ ุงู„ูƒุจุณูˆู„ุฉ ุงู„ู„ู‰ ุงุญู†ุง ุจู†ุณุชุฎุฏู…ู‡ุง ุฏุงูŠู…ุงุŸ
441
00:37:20,900 --> 00:37:25,460
method ุชู…ุงู… ุงุนู…ู„ ู‡ุงุฏูŠ ุงุถุบุท ู‡ุฐุง ุงู„ุฎูŠุงุฑ ูˆุงุฎุชุงุฑ ู‚ู„ู‘ู‡
442
00:37:25,460 --> 00:37:31,720
select all ูˆู‚ู„ู‘ู‡ refactor ู‡ุชู„ุงู‚ูŠ ุงูŠุดุŸ ุงู† ู„ูƒู„ู‡ู…
443
00:37:31,720 --> 00:37:37,380
ู„ุญุงู„ู‡ุงู†ุฒู„ ุชุญุช ู‡ู†ุง ุนู…ู„ ู„ูƒ ู‡ุงูŠ get name ูˆ ู‡ุงูŠ set
444
00:37:37,380 --> 00:37:41,240
name get age ูˆ set age get id ูˆ set id ู„ูƒู„ ุงู„
445
00:37:41,240 --> 00:37:48,320
attributes ุนู…ู„ู‡ู… ุฅูŠุด setars ูˆ getars ูƒูŠูุŸ
446
00:37:48,320 --> 00:37:54,060
ู„ุฃ ู‡ูˆ ุงู„ู…ุชุนุงุฑู ุนู„ูŠู‡ ุฃู†ู‡ ูŠูƒูˆู† 6 ูˆ get ุงู†ุช ุจุชุณู…ูŠ
447
00:37:54,060 --> 00:37:57,880
ุงู„ุฅุณู… ุจุฏุงูƒูŠุฉ ุชู…ุงู…ุŸ ู‡ุงูŠ ุงู„ return ุจูŠุจูŠู† ู‡ุงูŠ get
448
00:37:57,880 --> 00:38:03,890
balance ุฅูŠุด ุจุฑุฌุนุŸ return balance set balanceุฅูŠุด
449
00:38:03,890 --> 00:38:07,270
ุจูŠุงุฎุฏุŸ ู…ุชุบูŠุฑ ุงุณู…ู‡ balance ุจูŠุงุฎุฏ ุงู„ balance ูˆ ุจูŠุญุทู‡
450
00:38:07,270 --> 00:38:11,650
ูˆูŠู†ุŸ ููŠ this dot balance ุทุจุนุง ุจูŠูุฑุฌ ู‡ุฐุง ุงู„ู…ุชุบูŠุฑ ุนู†
451
00:38:11,650 --> 00:38:15,790
ู…ูŠู†ุŸ ุนู† this dot balance ู‡ุฐุง ู…ุชุบูŠุฑ ุฃู†ุง ู…ุฑุฑุชู‡ ุฃุฎุฏุชู‡
452
00:38:15,790 --> 00:38:19,390
ูˆ ุญุทูŠุชู‡ ููŠ this dot balance ุงู„ู„ูŠ ููˆู‚ ู‡ู†ูุตู„ ู‡ุฐุง
453
00:38:19,390 --> 00:38:24,550
ุงู„ู…ุฑุฉ ุงู„ุฌุงูŠุฉ ูุงู„setters ูˆ getters ูƒูŠู ูŠุนู†ูŠุŸ ูŠุนู†ูŠ
454
00:38:24,550 --> 00:38:28,690
ู‡ุฐู‡ ุชุฎูŠู„ู‡ุง ุฅูŠุด ุฃู†ู‡ ุฃู†ุง ู…ุฑุฑุช ู…ุชุบูŠุฑ ู„ุฃ ุงู„ุชุฑุชูŠุจ ู…ุงู†ูˆุด
455
00:38:28,690 --> 00:38:33,820
ุฏุนูˆุฉููŠ ุงู„ methods ู…ุด ู…ู‡ู… ุงู„ุชุฑุชูŠุจ ู…ู…ูƒู† ุชุญุท ุงู„ set
456
00:38:33,820 --> 00:38:39,180
ููˆู‚ ูˆ ุงู„ get ูˆูŠู† ุชุญุช ุงู„ุชุฑุชูŠุจ ู…ุด ู…ู‡ู… ูˆุงุถุญ ูŠุง ุฌู…ุงุนุฉุŸ
457
00:38:39,180 --> 00:38:42,920
ู…ุงู„ูˆุด ุนู„ุงู‚ุฉ ุฃุตู„ุง ุฃู†ุง ู…ู…ูƒู† ุงู„ attributes ู‡ุฏูˆู„ุฉ
458
00:38:42,920 --> 00:38:50,800
ุดุงูŠููŠู†ู‡ู… ุงู„ู„ูŠ ููˆู‚ ุฃุฎุฏู‡ู… ู…ู† ููˆู‚ ูˆ
459
00:38:50,800 --> 00:38:55,920
ุฃุญุทู‡ู… ูˆูŠู† ูˆ ุฃุญุทู‡ู… ุชุญุช ู…ุงููŠ ุฃูŠ ุญุงุฌุฉ ุจุชู…ู†ุนู†ูŠ ู…ุงููŠุด
460
00:38:55,920 --> 00:39:00,290
ุชุฑุชูŠุจ ูŠุนู†ูŠ ุจู‚ู‰ุชู…ุงู…ุŸ ุจุณ ูŠุนู†ูŠ ุงุญู†ุง ุงุชุนูˆุฏู†ุง ุงู† ู†ูƒูˆู†
461
00:39:00,290 --> 00:39:04,670
ุงู„ attributes ููˆู‚ ูˆ ุงู„ methods ุชุญุชู‡ู… ูˆ ุจุฃูŠ ุชุฑุชูŠุจ
462
00:39:04,670 --> 00:39:07,050
ูŠุนู†ูŠ ู…ู…ูƒู† ุชุญุท ุงู„ setters ูˆ ุงู„ getters ุจุชุงุนูˆู† ุงู„
463
00:39:07,050 --> 00:39:10,030
balance ููŠ ุงู„ุฃูˆู„ ูˆ ุจุนุฏูŠู† ุชุญุท ุงู„ setters ูˆ ุงู„
464
00:39:10,030 --> 00:39:17,250
getters ุจุชุงุนูˆู† ุงู„ name ูˆุงุถุญุฉ
465
00:39:17,250 --> 00:39:25,630
ุฌู…ุงุนุฉ ู‡ุฐู‡ุŸ ูู‡ูŠ ุงู„ employee ุจู†ูุณ ุงู„ุทุฑูŠู‚ุฉ ู…ู…ูƒู† .. ู‡ู‰
466
00:39:25,630 --> 00:39:35,460
ู…ุฑุฉ ุชุงู†ูŠุฉู‡ูŠ ุงู„ employee click ูŠู…ูŠู† refactor
467
00:39:35,460 --> 00:39:41,580
encapsulate fields select all ุจุณ ููŠ ู…ู†ู‡ู… ุงุญู†ุง
468
00:39:41,580 --> 00:39:45,700
ุนู…ู„ู†ุงู‡ ุตุญ ูˆู„ุงุŸ ูŠุนู†ูŠ ุงุญู†ุง ุนู…ู„ู†ุง ู„ู„ name ูˆุนู…ู„ู†ุง ู„ู„
469
00:39:45,700 --> 00:39:55,740
age ุจู†ุดูŠู„ู‡ ูˆุนู…ู„ู†ุง ู„ู„ number of children ู‡ุงูŠ
470
00:39:55,740 --> 00:40:01,730
refactorุจุฑุถู‡ ุงุนู…ู„ ุงูŠุด ู„ุงู† ู„ูƒู„ ุงู„ attributes ู‡ู‰ age
471
00:40:01,730 --> 00:40:05,410
set age ูˆ get age calculate totals ู„ู‡ุง ุฏู‰ ุงุญู†ุง
472
00:40:05,410 --> 00:40:09,730
ุนู…ู„ู†ุงู‡ุง calculate totals ู‡ู‰ get ID ูˆ set ID ุทุจุนุง
473
00:40:09,730 --> 00:40:13,390
ู‡ูˆ ุจุญุท comments ู…ู…ูƒู† ุชุดูŠู„ ุงู„ comments ู‡ุฏูˆู„ู‡ ู‡ู‰ get
474
00:40:13,390 --> 00:40:20,490
ID ุงูŠุด ุจุชุฑุฌุน ู‡ู‰ ุจุชุฑุฌุน ID ุงู„ุงู† set ID ุจุณ ุฎู„ูŠู†ุง
475
00:40:20,490 --> 00:40:24,890
ู†ุชู…ู‡ูŠ ุนู„ู‰ ุงู„ู†ู‚ุทุฉ ู‡ุฏู‰ ูŠุง ุฌู…ุงุนุฉ ุงู„ุงู† ุทู„ุน ู…ุนุงูŠุง ู‡ู†ุง
476
00:40:24,890 --> 00:40:30,160
ู‡ุฏู‰ ู…ู…ูƒู† ุชู„ุฎุจุทูƒูˆุง ุดูˆูŠุฉset id ุงูŠุด ุจุชุงุฎุฏ ุงู„ string
477
00:40:30,160 --> 00:40:34,220
ุงุณู…ู‡ุง id ุจุนุฏูŠู† ุฑุงุญ ุฃุดู‡ุฑ ู…ู† ู‡ุฐุง ุงู„ุณุทุฑ ุงู„ุบุฑูŠุจ ุจู‚ูˆู„
478
00:40:34,220 --> 00:40:39,580
ุญุท this.id ูŠุณุงูˆูŠ id ู„ุฃู† ุฏุฑ ุจุงู„ูƒ ููŠ ุนู†ุฏู†ุง ู…ุชุบูŠุฑูŠู†
479
00:40:39,580 --> 00:40:46,400
ุงุณู…ู‡ู… id ููŠ ุงู„ู…ุชุบูŠุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุฏุงุฎู„ ุงู„ method ูˆููŠ
480
00:40:46,400 --> 00:40:51,860
ุงู„ู…ุชุบูŠุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ูˆูŠู† ููŠ ุงู„ attribute ุทุจุนุง ูู‰ ูุฑู‚
481
00:40:51,860 --> 00:40:54,940
ุจูŠู†ู‡ู… ู‡ุงุฏ ุนุงู…ู„ ุฒูŠ ุฅูŠุด ูŠุง ุฌู…ุงุนุฉ ุฒูŠ ู„ู…ุง ูŠูƒูˆู† ุนู†ุฏ F
482
00:40:54,940 --> 00:40:59,850
statement ุนุฑู ุฌูˆุงู‡ุง ู…ุชุบูŠุฑุจุณ ููŠ ุงู„ู€ F ุจูŠู‚ุจู„ุด ุงู†
483
00:40:59,850 --> 00:41:03,410
ูŠุนุฑู ู…ุชุบูŠุฑ ุจู†ูุณ ุงู„ุงุณู… ุงู„ู…ูˆุฌูˆุฏ ููˆู‚ ู„ุฃู† ููŠ ุงู„ class
484
00:41:03,410 --> 00:41:09,730
ู…ู…ูƒู† ุชุนุฑู ู…ุชุบูŠุฑ ุฏุงุฎู„ ุงู„ method ุจู†ูุณ ุงุณู… ู…ุชุบูŠุฑ ููŠ
485
00:41:09,730 --> 00:41:15,330
ุงู„ attribute ุจุณ ูƒูŠู ู†ู…ูŠุฒ ุจูŠู†ู‡ู…ุŸ ู‡ุฏุงูƒ ู…ุงุดูŠ ู…ุง ู‡ูˆ ู…ุด
486
00:41:15,330 --> 00:41:20,810
.. ู„ูŠุด ุญุทู‡ ุฃุฎุถุฑุŸ ู„ุฃู† ุฏุงู„ุจุงู„ูƒ ุจุฏูˆู† this ู‡ูŠูƒ ุงุชู„ุฎุจุทุŒ
487
00:41:20,810 --> 00:41:23,750
ู‡ูŠูƒ ุญุชู‰ ู‡ูˆ ุงู„ุชุฎู…ุŒ ุฅูŠุด ุจู‚ูˆู„ ู„ูŠู‡ุŸ ุจู‚ูˆู„ ุงู†ุช ุฌุงุนุฏ
488
00:41:24,400 --> 00:41:29,320
ุจุฑุฑุชู„ูŠ ID ูˆู‚ุนุฏ ุจุชุญุท ุงู„ ID ููŠ ู†ูุณ ุงู„ ID ู‡ุนู„ู…ู„ูŠู‡ุง
489
00:41:29,320 --> 00:41:33,520
ุฅูŠุด ุจุงู„ุฃุตูุฑ ูˆู‚ุงู„ู„ูŠ assignment to itself ุฅูŠุด ุฃู†ุง
490
00:41:33,520 --> 00:41:37,200
assignment to itselfุŸ ุชุญุท ุญุงุฌุฉ ุจู†ูุณู‡ุง ู„ุฃ ุนุดุงู† ู†ู…ูŠุฒ
491
00:41:37,200 --> 00:41:41,260
ุงู„ุขู† ุจู‚ูˆู„ .. ุจู‚ูˆู„ู‡ ุฃู†ุง ุฌุตุฏูŠ ุฃู† ุงู„ ID ู‡ุฐู‡ ุฎุฏ ุญุทู‡ุง
492
00:41:41,260 --> 00:41:45,760
ูˆูŠู† ููŠ ุงู„ ID ุงู„ู„ูŠ ููˆู‚ ูƒูŠู ู…ูŠุฒุช ุงู„ ID ู‡ุฐู‡ ุนู† ุงู„ ID
493
00:41:45,760 --> 00:41:49,030
ุงู„ู„ูŠ ููˆู‚ุŸุจุงู„ู€ this ูŠุนู†ูŠ ู‡ู†ุง ุงู„ู€ this ุฅู„ูŠู‡ุง ุฏูˆุฑ ู…ู‡ู…
494
00:41:49,030 --> 00:41:53,850
ู„ูŠุดุŸ ู„ูŠุด ุฅู„ูŠู‡ุง ุฏูˆุฑ ู…ู‡ู…ุŸ ู„ุฃู†ู‡ ููŠ ุนู†ุฏูŠ ู…ุชุบูŠุฑ ููŠ ุงู„
495
00:41:53,850 --> 00:41:56,570
function ุฃูˆ ุงู„ method ู†ูุณ ุงุณู… ุงู„ู…ุชุบูŠุฑ ููˆู‚ ูุนุดุงู†
496
00:41:56,570 --> 00:42:01,050
ุฃู…ูŠุฒ ุจูŠู†ู‡ู… ู‡ุณุชุฎุฏู…ุช this ู„ุฃู† ู…ู…ูƒู† ุฃุญู†ุง ุชุนู…ู„ ุฒูŠ ู…ุง
497
00:42:01,050 --> 00:42:04,970
ุฃู†ุง ุณูˆูŠุช ู‚ุจู„ ุดูˆูŠุฉ ุชุทู„ุน ู…ุนุงูŠุง ููˆู‚ ููŠ ุงู„ method set
498
00:42:04,970 --> 00:42:10,430
name ููŠ ุงู„ set name ุฅูŠุด ุญุทูŠุช ุงู„ู…ุชุบูŠุฑ ู‡ู†ุงุŸ and ุงู„
499
00:42:10,430 --> 00:42:15,610
and ู‡ู†ุง ู„ูˆ ู…ุงุญุทูŠุชุด this ุนุงุฏูŠุŒ ู…ุงู„ุชุฎู…ุด ู‡ูˆุฎู„ุงุตุŒ ู…ุฏุงู…
500
00:42:15,610 --> 00:42:19,090
ู‡ู†ุง ู…ุงููŠุด name ู…ุชุบูŠุฑ ุฌูˆุง ุงู„ method ุงุณู…ู‡ name ูŠุจู‚ู‰
501
00:42:19,090 --> 00:42:23,110
ุจูู‡ู… ุฅู† ุงู„ name ู…ุงููŠุด ุบูŠุฑ mean ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„
502
00:42:23,110 --> 00:42:29,050
object ู„ูƒู† ู„ูˆ ูƒุชุจุช ู‡ุฐู‡ name ูˆ
503
00:42:29,050 --> 00:42:33,470
ู‡ุฐู‡ ุฎู„ุชู‡ุง nameุŒ ู‡ูŠูƒ ุบู„ุทุŒ ุจู‚ูˆู„ูŠ ุทุจ ุฃู†ุช ุจุชุญุท ู‚ุงุนุฏ
504
00:42:33,470 --> 00:42:36,690
ู†ุงูŠู… ููŠ ู†ุงูŠู…ุŒ ู‡ุฐู‡ ุบู„ุทุŒ ุชู…ุงู…ุŸ ุจู‚ูˆู„ูŠ ู„ุฃุŒ ุฃู†ุง ู‚ุตุฏ
505
00:42:36,690 --> 00:42:40,370
ุฅูŠุดุŸ ุฎุฏ ุงู„ name ูˆ ุญุทู‡ุง ููŠ this ู„ุชู†ุงู…ุŒ ูŠุนู†ูŠ .. ูŠุนู†ูŠ
506
00:42:40,370 --> 00:42:45,550
ู‡ุฐู‡ .. ุดูˆู ู‡ุฐู‡ ุญุงู„ุฉ ุงู„ this ููŠู‡ุง ู…ุงู„ู‡ุงุฃู‡ ู…ู‡ู…ุฉ ูŠุนู†ูŠ
507
00:42:45,550 --> 00:42:51,070
ุฃู†ุง ู‚ุตุฏูŠ this ุงู„ name ุงู„ู…ูˆุฌูˆุฏ ููŠ ุงู„ object ูŠุจู‚ู‰
508
00:42:51,070 --> 00:42:53,350
ุงู„ูŠูˆู… ุงู„ู„ูŠ ูŠุง ุฌู…ุงุนุฉ ุงุญู†ุง ุงุชุนุฑูู†ุง ุนู„ู‰ ุฃุดูŠ ู…ู‡ู… ุงู„ู„ูŠ
509
00:42:53,350 --> 00:42:58,970
ู‡ูˆ ุฅูŠุด ุงู„ access scope ุฃูˆ ู…ุฏู‰ ุงู„ูˆุตูˆู„ ู„ู„ู…ุชุบูŠุฑุงุช ุงู„
510
00:42:58,970 --> 00:43:02,990
default ุจูƒูˆู† public ุชู…ุงู… ุฅู†ู‡ ุจู‚ุฏุฑ ุฅูŠุด ุฃูˆุตู„ู‡ ู…ู† ุฃูŠ
511
00:43:02,990 --> 00:43:07,250
ู…ูƒุงู† ู„ูƒู† ููŠ scope ุชุงู†ูŠ ุงู„ู„ูŠ ู‡ูˆ private ุงู„ู„ูŠ ุจู†ุตุญู‡
512
00:43:07,250 --> 00:43:14,720
ุฅู†ู‡ ุฏู‡ ู…ุง ุชุณุชุฎุฏู…ู‡ ุญุท ุงู„ู…ุชุบูŠุฑ privateูˆุบูŠุฑู‡ ุงูˆ ุจุชู‚ุฏุฑ
513
00:43:14,720 --> 00:43:19,540
ุชูˆุตู„ ุงู„ูŠู‡ ู…ู† ุฎู„ุงู„ ุงูŠุดุŸ method ูŠูƒูˆู†ูˆุง public ุงู„ู„ูŠ
514
00:43:19,540 --> 00:43:22,200
ู‡ู… ุงู„ sitters ูˆ ุงู„ getters ูˆ ู„ุงุญุธ ุงู† ุงู„ sitters ูˆ
515
00:43:22,200 --> 00:43:25,320
ุงู„ getters ู‡ุฏูˆู„ุฉ public ูˆุงุญุฏ ุจูŠู‚ูˆู„ ุทุจ ู„ูˆ ุญุทูŠุชู‡ู…
516
00:43:25,320 --> 00:43:28,880
private ู…ุด ุบู„ุท ุงู†ูƒ ุชุญุทู‡ู… private ู„ูƒู† ุจุทู„ ุงู„ู„ูŠ ู‡ูˆ
517
00:43:28,880 --> 00:43:34,800
ุงู„ูุงูŠุฏุฉุฃู‡ ูŠุนู†ูŠ ู…ุง .. ุฃู‡ ุชุนุงู„ ู‡ู†ุง ู‡ุงูŠ ุณุช ู†ูŠู… ุฅูŠุด
518
00:43:34,800 --> 00:43:39,200
ู…ุงู„ู‡ุŸ ุจุทู„ ุดุงูŠูู‡ุงุŒ ุชู…ุงู…ุŸ ู„ุฃ ุงู„ methods ุบุงู„ุจุง
519
00:43:39,200 --> 00:43:42,740
ุจูŠูƒูˆู†ูˆุง ุฅูŠุด ุฃูˆ ู„ุงุฒู… ุงู„ sitters ูˆ ุงู„ getters ู‡ุงุฏ
520
00:43:42,740 --> 00:43:47,060
ุนู…ู„ ุฒูŠ ุงู„ู„ูŠ ุญุท ุจุงุจ ูˆ ู„ุญู…ู‡ ุจุญู‚ .. ุฎู„ุงุต ูŠุนู†ูŠ ู…ุงููŠุด
521
00:43:47,060 --> 00:43:49,860
ุญุฏ .. ุฅูŠุด ูุงูŠุฏุชู‡ุŸ ุจุทู„ ุงู„ูุงูŠุฏุฉ ุงู„ sitters ูˆ ุงู„
522
00:43:49,860 --> 00:43:53,820
getters ู‡ุงุฏ ุจูˆุงุจ ุนุดุงู† ุชุตู„ ู„ู…ูŠู†ุŸ ู„ู„ู…ุชุบูŠุฑ ุงู„ุจูˆุงุจ
523
00:43:53,820 --> 00:43:57,300
ู„ุงุฒู… ุชุธู‡ุฑ ู…ูุชูˆุญุฉู…ุด ู…ูุชูˆุญ ุนู„ู‰ ุงู„ุขุฎุฑ ูŠุนู†ูŠ .. ูŠุนู†ูŠ
524
00:43:57,300 --> 00:44:03,020
ู‡ุฐุง ุฌูˆุง ุงู„ุจุงุจ ุจูƒูˆู† ููŠู‡ check ูŠุนู†ูŠ ู…ุงุดูŠ ูŠุง ุฌู…ุงุนุฉ
525
00:44:03,020 --> 00:44:05,340
ูู‡ู…ู†ุง ู‡ุฐู‡ ุงู„ู„ู‡ ูŠุนุทูŠูƒูˆุง ุงู„ุนุงููŠุฉ