1
00:00:00,180 --> 00:00:04,450
So that type of my valuable is float OK.

2
00:00:04,620 --> 00:00:09,330
And the name of my value is Celsius OK.

3
00:00:09,480 --> 00:00:12,690
And then I assign a value to my variable here.

4
00:00:12,780 --> 00:00:13,560
OK.

5
00:00:13,950 --> 00:00:16,320
For example 86.

6
00:00:16,470 --> 00:00:17,000
OK.

7
00:00:17,160 --> 00:00:20,940
And then at the end of my statement I need to put in a semi-colon OK.

8
00:00:21,060 --> 00:00:25,500
So now I want to output the value of this variable to the console.

9
00:00:25,490 --> 00:00:25,950
OK.

10
00:00:27,600 --> 00:00:33,360
System that out that prevents land and then inside the prentices I just need to refer to the name of

11
00:00:33,360 --> 00:00:34,480
my variable.

12
00:00:34,790 --> 00:00:35,190
OK.

13
00:00:35,190 --> 00:00:38,580
And then at the end of my statement I need to put in a semi-colon.

14
00:00:38,580 --> 00:00:43,500
So now if I run my project as you can see it outputs this value to the console.

15
00:00:43,530 --> 00:00:51,710
OK so now the first step is that we need to multiply the Celsius value by night.

16
00:00:51,750 --> 00:00:52,370
OK.

17
00:00:52,560 --> 00:00:56,430
So again I just need to refer to the name of my variable here.

18
00:00:56,760 --> 00:00:58,270
Celsius Okay.

19
00:00:58,650 --> 00:01:04,550
And then I put in an assignment operator here because I want to assign a value to my value.

20
00:01:04,560 --> 00:01:05,030
OK.

21
00:01:05,040 --> 00:01:10,680
And then I put in an assignment operator here and then I want to assign a value to my value.

22
00:01:10,920 --> 00:01:14,960
So again I refer to the name of my variable in order to read it it's.

23
00:01:15,030 --> 00:01:23,110
OK Celsius and then I multiply this value OK by nine.

24
00:01:23,520 --> 00:01:26,310
And then at the end of my statement I need to put in a semi-colon.

25
00:01:26,310 --> 00:01:27,110
OK.

26
00:01:27,750 --> 00:01:35,910
So now if I output the value of this valuable to the console Let's see what happens system that I got

27
00:01:36,220 --> 00:01:42,140
that slam inside the Prentice's referred to the name of your variable.

28
00:01:43,290 --> 00:01:46,710
And then at the end of your statement you need to put in a semi-colon.

29
00:01:46,710 --> 00:01:47,360
OK.

30
00:01:47,820 --> 00:01:52,680
So if I used on my project as you can see it outputs this value for the cost.

31
00:01:52,680 --> 00:01:57,550
OK this is the last value of this Celsius variable here.

32
00:01:57,690 --> 00:01:58,160
OK.

33
00:01:58,260 --> 00:02:03,050
And this value is the old value of this Celsius variable here.

34
00:02:03,060 --> 00:02:03,590
OK.

35
00:02:03,760 --> 00:02:12,700
We created this Celsius variable in line between the free and we decided to output the value of this

36
00:02:12,880 --> 00:02:20,830
variable to the console and we decided to output the value of this variable to the console in line 24.

37
00:02:20,890 --> 00:02:21,600
Okay.

38
00:02:21,910 --> 00:02:27,200
And as you can see here in the console it outputs this value to the console.

39
00:02:27,350 --> 00:02:27,710
Okay.

40
00:02:27,730 --> 00:02:33,270
Because in this line we are actually outputting the value of this value back to the console.

41
00:02:33,460 --> 00:02:33,930
Okay.

42
00:02:34,030 --> 00:02:41,280
And when and when and when this line is executed it it's going to out food this number with the console

43
00:02:41,470 --> 00:02:49,040
but in line 26 as you can see we changed the value of this variable to another value.

44
00:02:49,140 --> 00:02:49,610
Okay.

45
00:02:49,640 --> 00:02:56,230
The first with the name of the variable and then we use the assignment operator in order to assign a

46
00:02:56,230 --> 00:02:57,590
value to my value.

47
00:02:57,670 --> 00:02:58,230
Okay.

48
00:02:58,540 --> 00:03:04,880
And on the right hand side of the operator I multiplied the value of this variable by nine.

49
00:03:04,970 --> 00:03:05,450
OK.

50
00:03:05,560 --> 00:03:14,110
And then I assigned the result of this operation to the Celsius variable and in line 27 I decided to

51
00:03:14,110 --> 00:03:17,130
output the value of this variable to the console.

52
00:03:17,330 --> 00:03:17,820
OK.

53
00:03:17,890 --> 00:03:22,990
So now as you can see this is the last value of these Celsius variable.

54
00:03:23,040 --> 00:03:23,600
Okay.

55
00:03:23,680 --> 00:03:30,040
So this is a very important point that you should consider about about assigning values to variables.

56
00:03:30,040 --> 00:03:33,890
OK so now we need to actually divide the result by 5.

57
00:03:33,970 --> 00:03:34,580
OK.

58
00:03:34,900 --> 00:03:43,690
So here again I refer to the name of my variable and then I use the assignment operator here because

59
00:03:43,720 --> 00:03:46,670
I want to assign another value to this variable.

60
00:03:46,780 --> 00:03:50,910
I want to divide the value of this variable by 5.

61
00:03:51,130 --> 00:03:51,740
OK.

62
00:03:52,010 --> 00:03:55,620
You want to divide this number by 5.

63
00:03:55,660 --> 00:03:58,780
So I just need to again refer to the name of my variable.

64
00:03:59,470 --> 00:04:03,890
And then use that division operator here and then put the number five here.

65
00:04:03,940 --> 00:04:04,470
OK.

66
00:04:04,630 --> 00:04:07,820
And then at the end of my statement I need to put in a semi-colon.

67
00:04:08,050 --> 00:04:15,170
So here again I want to output the value of this variable to the console system that I want that print

68
00:04:15,170 --> 00:04:15,730
to Len

69
00:04:19,840 --> 00:04:25,100
and then inside Apprentice's I just need to refer to the name of my variable Celsius.

70
00:04:25,300 --> 00:04:28,540
And then at the end of my statement I need to put in a semicolon.

71
00:04:28,540 --> 00:04:29,090
OK.

72
00:04:29,530 --> 00:04:36,540
So now if I run my project as you can see it's going to output this value to the console.

73
00:04:37,210 --> 00:04:41,260
This value is the result of this operation here.

74
00:04:41,650 --> 00:04:48,740
OK that be assigned to Celsius variable and in this line of code are in line.

75
00:04:48,770 --> 00:04:52,110
Firstly we decided to output this value to the console.

76
00:04:52,360 --> 00:04:54,810
So as you can see here this is that value.

77
00:04:54,950 --> 00:04:59,860
OK this is the last value that we assigned to the Celsius variable.

78
00:05:00,120 --> 00:05:00,730
Okay.

79
00:05:00,970 --> 00:05:04,810
And finally we need to actually be at fifty two values to this number.

80
00:05:04,880 --> 00:05:09,190
Okay this is the last value of this Celsius variable.

81
00:05:09,460 --> 00:05:11,900
So just like in here Celsius.

82
00:05:12,310 --> 00:05:13,010
Okay.

83
00:05:13,270 --> 00:05:16,250
And again I use the assignment operator.

84
00:05:16,720 --> 00:05:20,490
And then I want to assign another value to this variable.

85
00:05:20,530 --> 00:05:21,010
OK.

86
00:05:21,130 --> 00:05:29,110
So here I just need to refer to the name of a variable and then add 32 values to the value of my.

87
00:05:29,190 --> 00:05:29,870
OK.

88
00:05:30,130 --> 00:05:33,490
And at the end of my statement I need to put in a semi-colon.

89
00:05:33,610 --> 00:05:39,560
So now if you want to output the value of this variable to the console I just need to type in here system

90
00:05:39,710 --> 00:05:41,390
out of that plane to land.

91
00:05:41,980 --> 00:05:46,190
And then inside the apprentice's I just need to refer to the name of my body.

92
00:05:46,240 --> 00:05:47,300
OK.

93
00:05:47,950 --> 00:05:51,840
And then at the end of my statement I need to put in a semi-colon OK.

94
00:05:52,150 --> 00:05:59,010
So now if I actually run my project as you can see it's going to output this value to the console.

95
00:05:59,020 --> 00:05:59,750
OK.

96
00:06:00,040 --> 00:06:05,300
So if we successfully converted this Celsius value into farenheit.

97
00:06:05,320 --> 00:06:05,930
Okay.

98
00:06:06,150 --> 00:06:08,500
And this is our value.

99
00:06:08,560 --> 00:06:15,610
So here again I want to actually concatenate the value of this variable with another text.

100
00:06:15,610 --> 00:06:18,390
So I just use the plus operator here.

101
00:06:18,670 --> 00:06:21,320
And then I put two double quotes here.

102
00:06:21,430 --> 00:06:24,900
And then inside the double codes I just need to put in my text.

103
00:06:24,940 --> 00:06:27,680
So here I use the space here.

104
00:06:27,880 --> 00:06:31,630
And then I just need to type in degrees

105
00:06:34,920 --> 00:06:35,640
Fahrenheit

106
00:06:38,360 --> 00:06:39,060
OK.

107
00:06:39,530 --> 00:06:46,480
So now if I run my project again as you can see it's going to output this value to the con..

108
00:06:46,490 --> 00:06:47,100
OK.

109
00:06:47,120 --> 00:06:50,970
And this is the value that we converted from Celsius to Fahrenheit.

110
00:06:51,320 --> 00:06:55,450
And this is the text that we pulled after this variable here.

111
00:06:55,490 --> 00:06:56,020
OK.

112
00:06:56,150 --> 00:07:01,520
So now I want to actually explain more about other aspects of Java programming.

113
00:07:01,570 --> 00:07:07,720
Ok so now let me actually comment out these lines of code here because I don't want to execute them.

114
00:07:07,850 --> 00:07:14,280
OK so as you can see I use the multiline comment here in order to comment out all these lines here.

115
00:07:14,330 --> 00:07:22,490
OK so the first point that I want to talk about is that you can combine assignment statements in this

116
00:07:22,880 --> 00:07:25,340
unusual way that I'm going to show you.

117
00:07:25,530 --> 00:07:29,570
OK so first I'm going to declare some variables here.

118
00:07:29,690 --> 00:07:36,980
So in the data type of my variable is 8 and then the name of my variable is for example a the data type

119
00:07:36,980 --> 00:07:37,900
of my second value.

120
00:07:37,900 --> 00:07:39,530
But is it.

121
00:07:40,100 --> 00:07:43,050
And the name of my second value and is B.

122
00:07:43,310 --> 00:07:43,980
OK.

123
00:07:44,300 --> 00:07:52,740
And I want to declare another variable and see and hear the last value about that I want to create here.

124
00:07:52,760 --> 00:07:55,930
I want to actually assign a value to my value it.

125
00:07:55,940 --> 00:07:57,920
OK so ain't it.

126
00:07:57,980 --> 00:08:01,740
And then I assign for example Number five to my variable here.

127
00:08:01,810 --> 00:08:02,740
OK.

128
00:08:03,710 --> 00:08:10,540
So now I want to show you that you can combine assignment statements in this unusual way.

129
00:08:10,700 --> 00:08:20,570
So a is equal to B is equal to C is required to set and then at the end of my statement I need to put

130
00:08:20,570 --> 00:08:21,660
in a semicolon.

131
00:08:21,950 --> 00:08:24,280
So now let's see what happens here.

132
00:08:24,380 --> 00:08:34,070
System that out that print learn and then inside the parenthesis I just need to refer to the name of

133
00:08:34,070 --> 00:08:35,240
my valuables here.

134
00:08:35,300 --> 00:08:35,950
OK.

135
00:08:36,140 --> 00:08:39,800
So I just typed in here a

136
00:08:43,140 --> 00:08:49,820
and then I use the plus operator in order to concatenate this text with my a variable here.

137
00:08:50,130 --> 00:08:51,180
OK.

138
00:08:51,930 --> 00:09:01,320
And again I use the plus operator and then inside the double codes I type in B and then I use this space

139
00:09:01,320 --> 00:09:01,670
here.

140
00:09:01,680 --> 00:09:04,560
And then I concatenate this text.

141
00:09:04,560 --> 00:09:06,690
It might be valuable.

142
00:09:06,870 --> 00:09:09,600
Again I use the plus operator here.

143
00:09:09,660 --> 00:09:17,040
And then inside the double quotes I just type in here see and again I use the plus operator in order

144
00:09:17,040 --> 00:09:27,050
to concatenate this text fit my C variable and then again I use the plus operator here concatenate with

145
00:09:27,150 --> 00:09:29,750
another text here said.

146
00:09:30,360 --> 00:09:35,930
And then I use the plus operator in order to concatenate this text with does that.

147
00:09:36,030 --> 00:09:36,880
OK.

148
00:09:37,320 --> 00:09:40,230
And then at the end of my statement I need to put in a semicolon.

149
00:09:40,230 --> 00:09:46,420
So now let me actually put his space here and there are space here and another space here.

150
00:09:46,450 --> 00:09:50,290
OK so now if I run my project let's see what happens.

