abdullah's picture
Add files using upload-large-folder tool
a62efdc verified
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 ุนู…ุฑ ุงู„ู…ูˆุธู float basic salary ุงู„ุฑุงุชุจ ุงู„ุฃุณุงุณูŠ
37
00:02:50,700 --> 00:02:58,000
int 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
ุงู„ุงุฌุชู…ุงุนูŠุฉ ู…ุชุฒูˆุฌ ูˆู„ุง ู„ุง ุฅูŠุด ู†ู…ุซู„ู‡ุง ุฏูŠ boolean
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
ุนู†ุฏู†ุง name ู…ู…ูƒู† ุชู‚ุฑุฃ ุงู„ name ู…ู† ุงู„ 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
ุจุฏูŠ ุฃู‚ูˆู„ .. ุจุฏูŠ ุฃู‚ูˆู„ ู„ู‡ if E1 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
ุทูŠุจ ู…ุงุดูŠ if E1 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 E1.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
ูˆุงู†ุชุจู‡ ุฅูŠุด ุงู„ุญุงู„ุงุช ุงู„ู„ูŠ ููŠู‡ุง if ูˆุฅูŠุด ุงู„ุญุงู„ุงุช ุงู„ู„ูŠ
109
00:09:37,450 --> 00:09:44,010
ููŠู‡ุง if elseุŒ ุชู…ุงู…ุŸ ูŠุนู†ูŠ ู‡ุฐู‡ ู…ุซู„ุง if ูˆู‡ุฐู‡ if ู„ุญุงู„ู‡ุงุŒ
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
ุชูƒูˆู† ู…ู† ู†ูุณ ู†ูˆุน ู…ูŠู†ุŸ ู†ูุณ ู†ูˆุน ุงู„ู€ return value ุจุชุงุนุช
144
00:12:52,260 --> 00:12:57,280
ุงู„ method ูŠุนู†ูŠ ู…ุง ูŠู†ูุนุด ู‡ู†ุง ุชุฑุฌุน ู…ุซู„ุง 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.out.println ุนุดุงู† ูŠุทุจุน ู„ูŠู‡ุง ุฅูŠุดุŒ ู…ุจุงุดุฑ ุจุฏูƒ
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 salary ูˆ ุงู„ 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
object ุจุฑุถู‡ .. ุฃู†ุง ู„ู…ุง ุฃุนูŠุดุŒ ุจุนูŠุด ููŠ ุงู„ุฎุฑูŠุทุฉ ุงู„ุฑุณู…
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
ุนู†ุฏูŠ ุฎุทุฃ ูˆูŠู†ุŸ ููŠ ุงู„ู€ main ู„ูŠุดุŸ ุชุนุงู„ ุดูˆู ุงู„ุขู† ู„ูˆ ุฃู†ุง
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
ู„ู„ู€ name ุจุงุจ ุจุฏุฎู„ ุนู„ู‰ ุงู„ู€ name ูˆุจุงุจ ุจูŠุฌูŠุจ ู„ู„ู€ name ูˆู‡ุฐุง ู†ูุณ
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
ููŠ ุงู„ู€ main ุจูŠู‚ูˆู„ู‡ ุฅุฐุง ุงู„ู€ 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 of children ุฅูŠุด ุจุชุงุฎุฏ
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 of childrenุŒ ุฅูŠุด ู‡ุชุงุฎุฏุŸ ุงู„ู€
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 ุนู…ู„ู‡ู… ุฅูŠุด setters ูˆ getters ูƒูŠูุŸ
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
ู‡ู… ุงู„ู€ setters ูˆ ุงู„ู€ getters ูˆ ู„ุงุญุธ ุฃู† ุงู„ู€ setters ูˆ
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
ุงู„ูุงูŠุฏุฉ ูŠุนู†ูŠ ู…ุง .. ุขู‡ ุชุนุงู„ ู‡ู†ุง ู‡ุงูŠ set name ุฅูŠุด
518
00:43:34,800 --> 00:43:39,200
ู…ุงู„ู‡ุงุŸ ุจุทู„ ุดุงูŠูู‡ุงุŒ ุชู…ุงู…ุŸ ู„ุฃ ุงู„ู€ methods ุบุงู„ุจุง
519
00:43:39,200 --> 00:43:42,740
ุจูŠูƒูˆู†ูˆุง ุฅูŠุด ุฃูˆ ู„ุงุฒู… ุงู„ู€ setters ูˆ ุงู„ู€ getters ู‡ุงุฏ
520
00:43:42,740 --> 00:43:47,060
ุนู…ู„ ุฒูŠ ุงู„ู„ูŠ ุญุท ุจุงุจ ูˆ ู„ุญู…ู‡ ุจุญู‚ .. ุฎู„ุงุต ูŠุนู†ูŠ ู…ุงููŠุด
521
00:43:47,060 --> 00:43:49,860
ุญุฏ .. ุฅูŠุด ูุงูŠุฏุชู‡ุŸ ุจุทู„ ุงู„ูุงุฆุฏุฉ ุงู„ู€ setters ูˆ ุงู„ู€
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
ูู‡ู…ู†ุง ู‡ุฐู‡ ุงู„ู„ู‡ ูŠุนุทูŠูƒู… ุงู„ุนุงููŠุฉ