1
00:00:00,300 --> 00:00:03,660
So as you can see here first I put that person's character.

2
00:00:03,810 --> 00:00:07,530
And then I specified the precision here thought free.

3
00:00:07,560 --> 00:00:10,700
This means that my value is going to accept the free decimal digits.

4
00:00:10,710 --> 00:00:11,350
OK.

5
00:00:12,170 --> 00:00:15,730
And then the type of My value is float.

6
00:00:15,880 --> 00:00:16,520
OK.

7
00:00:16,820 --> 00:00:25,000
So first I put the percent challenger here and then I specified My number of decimal digits.

8
00:00:25,340 --> 00:00:28,880
And then I specified the type of my value OK.

9
00:00:28,970 --> 00:00:31,270
And then I put a new line character here.

10
00:00:31,400 --> 00:00:35,490
And as you can see here here we need to specify our arguments.

11
00:00:35,510 --> 00:00:38,660
So now I can actually specify a floating point number.

12
00:00:38,660 --> 00:00:42,430
For example to point fifty six.

13
00:00:42,580 --> 00:00:43,210
OK.

14
00:00:43,460 --> 00:00:47,230
And then I need to put in a semi-colon at the end of my statement.

15
00:00:47,450 --> 00:00:54,110
And now if I want to output the value of this float string object to the console I just need to type

16
00:00:54,110 --> 00:01:00,830
in here systemd thought out that print to learn and then inside the prentices I just need to refer to

17
00:01:00,830 --> 00:01:03,290
the name of my object float.

18
00:01:03,710 --> 00:01:07,620
And then I need to put in a semi-colon at the end of my statement.

19
00:01:07,910 --> 00:01:12,800
And now if I get on my project as you can see it's going to actually output this value to the console

20
00:01:13,070 --> 00:01:16,510
a floating point number which free decimal digits.

21
00:01:16,640 --> 00:01:23,220
OK two point five six zero as you can see our number was two point fifty six.

22
00:01:23,330 --> 00:01:29,210
But because I specified that my value is going to accept Frida's free the single digits.

23
00:01:29,230 --> 00:01:31,640
It actually put a zero here.

24
00:01:31,840 --> 00:01:35,100
OK so now let me try to show you another example.

25
00:01:35,720 --> 00:01:41,230
So first of all let me actually comment out these lines of code here.

26
00:01:41,270 --> 00:01:48,800
So again it referred to the name of the String class as strange and the name of my object is floats

27
00:01:49,190 --> 00:01:51,270
as strange too.

28
00:01:51,620 --> 00:01:55,340
And then I need to put in an assignment operator here.

29
00:01:55,640 --> 00:02:01,540
And then again I refer to the name of the String class as three in that format.

30
00:02:01,580 --> 00:02:08,070
So first I need to specify the formatting instructions for my object here.

31
00:02:08,180 --> 00:02:11,080
As you can see it need to actually put a value of type A string.

32
00:02:11,090 --> 00:02:12,860
Ok a string format.

33
00:02:13,040 --> 00:02:16,660
OK so I just need to put in two double quotes here.

34
00:02:16,940 --> 00:02:23,310
And that inside the double quotes I can specify the formatting instructions so I can just type in here.

35
00:02:23,330 --> 00:02:27,240
A floating point number 10 decimal digits.

36
00:02:27,290 --> 00:02:29,220
And then I put in a call on here.

37
00:02:29,660 --> 00:02:32,500
And then again I put in the percent character here.

38
00:02:32,870 --> 00:02:36,310
Point 10 F. OK.

39
00:02:36,320 --> 00:02:39,180
And then I put in a new line character here.

40
00:02:39,290 --> 00:02:40,110
OK.

41
00:02:40,520 --> 00:02:47,350
And for the arguments I just need to put in a floating point number for example three point seventy

42
00:02:47,350 --> 00:02:51,350
eight and then I need to put in a semi-colon at the end of my statement.

43
00:02:51,350 --> 00:02:59,690
And now I want to output this value to the console so I just need to type in here a system that outs

44
00:03:00,050 --> 00:03:03,010
that princeling line and then inside the prentices.

45
00:03:03,050 --> 00:03:09,230
I just need to refer to the name of my float string to object and then I need to put in a semi-colon

46
00:03:09,290 --> 00:03:10,840
at the end of my statement.

47
00:03:10,850 --> 00:03:15,070
So now if I run my project as you can see it's going to output this value to the console.

48
00:03:15,260 --> 00:03:16,340
So as you can see here.

49
00:03:16,370 --> 00:03:19,930
So as you can see here it put ten decimal digits here.

50
00:03:19,940 --> 00:03:23,900
OK so now let me actually to show you another example.

51
00:03:23,900 --> 00:03:27,340
So first let me ask you to comment out these lines of code here.

52
00:03:27,350 --> 00:03:35,740
So here again I referred to the name of the string class as strange value OK.

53
00:03:36,050 --> 00:03:39,120
And then I put in an assignment operator here.

54
00:03:39,290 --> 00:03:44,650
And then again I refer to the name of this thing class that format.

55
00:03:45,230 --> 00:03:46,080
OK.

56
00:03:46,460 --> 00:03:50,960
So remember that this for my benefit is a classmate for the K because we are calling this an method

57
00:03:50,990 --> 00:03:52,450
on this string class.

58
00:03:52,460 --> 00:03:52,980
OK.

59
00:03:53,000 --> 00:03:59,090
So here as you can see we need to specify the formatting instructions of our object.

60
00:03:59,090 --> 00:04:07,670
So here I just need to put into double quotes and then I can just typing as I think colon and then I

61
00:04:07,670 --> 00:04:10,470
need to put in the person character here.

62
00:04:10,790 --> 00:04:15,570
And now I want to specify the type of the object that will be formatted in the output.

63
00:04:15,650 --> 00:04:16,430
OK.

64
00:04:16,520 --> 00:04:17,380
Percent.

65
00:04:17,600 --> 00:04:18,500
Yes.

66
00:04:18,500 --> 00:04:20,860
So the type of My object is a string.

67
00:04:20,870 --> 00:04:21,590
OK.

68
00:04:21,650 --> 00:04:26,610
And here for the arguments I need to actually putting a string object.

69
00:04:26,630 --> 00:04:30,070
So I just need to put into double quotes and inside double quotes.

70
00:04:30,110 --> 00:04:33,140
I can just put in for example high.

71
00:04:33,560 --> 00:04:36,620
And then I need to put in a semicolon at the end of my statement.

72
00:04:36,830 --> 00:04:40,750
And now I want to output the string value object to the console.

73
00:04:40,850 --> 00:04:41,360
OK.

74
00:04:41,490 --> 00:04:50,360
System that out that print line and then inside Apprentice's I can just refer to the name of the object

75
00:04:50,390 --> 00:04:55,850
a string value and then I need to put in a semicolon at the end of my statement.

76
00:04:56,040 --> 00:05:01,590
And now if I had on my project as you can see this value is now out to the console OK.

77
00:05:01,880 --> 00:05:09,130
So for example here I specified that the type of the object that is going to be formatted is a string.

78
00:05:09,180 --> 00:05:12,510
Ok so this is here means as I think.

79
00:05:12,680 --> 00:05:21,290
But if we actually change this to D which is used for integer numbers and as you can see here I specified

80
00:05:21,350 --> 00:05:24,250
that my object type is a string.

81
00:05:24,260 --> 00:05:24,680
OK.

82
00:05:24,680 --> 00:05:30,770
So as you can see here I specify that my object type is going to be integer.

83
00:05:30,800 --> 00:05:37,670
But here I put a strange value and if I get on my project now is it's going to actually show us an error

84
00:05:37,970 --> 00:05:40,290
exception in Fred Maine.

85
00:05:40,310 --> 00:05:41,490
This is a runtime error.

86
00:05:41,510 --> 00:05:42,170
OK.

87
00:05:42,260 --> 00:05:48,970
And this means that our codes have a problem and we need to fix our problems in order to fix this issue.

88
00:05:48,980 --> 00:05:50,080
So as you can see here.

89
00:05:50,240 --> 00:05:56,900
First of all we specified that the type of the object that is going to be formatted is of type integer.

90
00:05:57,050 --> 00:06:00,700
But here we put us through in value and this is rank.

91
00:06:00,800 --> 00:06:05,740
Even if you actually put an integer number for example number five.

92
00:06:06,010 --> 00:06:09,430
And now if I don't my project is going I should put this value to the cost.

93
00:06:09,490 --> 00:06:17,430
OK so now let me try to change this to S and here I put in the word high here.

94
00:06:17,500 --> 00:06:18,680
OK.

95
00:06:19,520 --> 00:06:20,020
OK.

96
00:06:20,090 --> 00:06:22,700
So now let me actually show you another example.

97
00:06:22,820 --> 00:06:29,670
So first let me actually comment out this line of code here and now I want to actually create another

98
00:06:29,930 --> 00:06:30,440
object.

99
00:06:30,440 --> 00:06:36,320
So first I need to refer to that name of the String class as the range and the name of my object is

100
00:06:36,500 --> 00:06:41,560
multiple string values.

101
00:06:41,870 --> 00:06:42,620
OK.

102
00:06:42,950 --> 00:06:47,160
And then I need to put in an assignment operator here.

103
00:06:47,450 --> 00:06:52,340
And then again I refer to the name of the String class that format.

104
00:06:52,340 --> 00:06:59,060
So first I need to specify the formatting instructions of my objects that is going to be output to the

105
00:06:59,060 --> 00:06:59,730
console.

106
00:06:59,870 --> 00:07:02,110
I put into double quotes and here.

107
00:07:02,300 --> 00:07:13,880
First of all I just type in a strange colon person s ok and I put a space here and then here I just

108
00:07:13,880 --> 00:07:19,570
type in integer colon percent D.

109
00:07:20,060 --> 00:07:22,510
And then again I put another space here.

110
00:07:22,610 --> 00:07:27,410
Float Colan percent character F..

111
00:07:27,730 --> 00:07:28,470
OK.

112
00:07:28,690 --> 00:07:34,980
So here as you can see we've got three different types for free different arguments.

113
00:07:35,000 --> 00:07:35,740
Ok so.

114
00:07:35,840 --> 00:07:41,420
So here we need to actually specify free different arguments for these three different types.

115
00:07:41,420 --> 00:07:41,780
OK.

116
00:07:41,810 --> 00:07:43,720
That we specified here.

117
00:07:43,790 --> 00:07:46,670
So here we need to actually put in our arguments.

118
00:07:46,670 --> 00:07:53,240
So for the first one for the first argument we need to actually putting in a strange value for example.

119
00:07:53,820 --> 00:08:00,500
Hello and for the second type we need to putting an integer number.

120
00:08:00,500 --> 00:08:09,290
For example fifty eight and for the first type we need to put in a floating point number.

121
00:08:09,290 --> 00:08:12,520
For example five point four.

122
00:08:12,740 --> 00:08:13,670
OK.

123
00:08:13,670 --> 00:08:16,520
And then we need to put in a semi-colon at the end of my statement.

124
00:08:16,770 --> 00:08:17,400
OK.

125
00:08:17,630 --> 00:08:20,880
And now I want to output this value to the console OK.

126
00:08:20,900 --> 00:08:26,510
So here I just need to typing system that out that princeling.

127
00:08:26,930 --> 00:08:31,490
And then inside the prentices I can just revert to the name of my object multiple

128
00:08:34,470 --> 00:08:38,310
values and that I need to put in a semicolon at the end of my statement.

129
00:08:38,610 --> 00:08:43,710
And now if I had on my project as you can see it's going to actually output these values to the console

130
00:08:43,790 --> 00:08:44,270
S3.

131
00:08:44,310 --> 00:08:47,850
Hello As you can see here estrange.

132
00:08:47,870 --> 00:08:48,790
Hello.

133
00:08:49,240 --> 00:08:54,910
Integer fifty eight and float five point as you can see here.

134
00:08:54,950 --> 00:09:04,970
It actually puts 1 2 3 4 5 6 decimal digits 6 decimal digits for our floating point number as you can

135
00:09:04,970 --> 00:09:09,050
see we didn't specify the decimal digits for our floating point numbers.

136
00:09:09,110 --> 00:09:13,470
So it actually put 6 decimal digits for our floating point number.

137
00:09:13,490 --> 00:09:14,060
OK.

138
00:09:14,180 --> 00:09:17,840
And now let me actually show you another example.

139
00:09:17,840 --> 00:09:25,490
So now I just need to refer to the name of the string class a string and the name of my object is for

140
00:09:25,490 --> 00:09:30,580
example s t r value 1.

141
00:09:30,830 --> 00:09:38,540
And then I need to put in a semicolon here and then I need to put in an assignment operator here and

142
00:09:38,540 --> 00:09:42,790
then again I refer to the name of the String class that format.

143
00:09:43,340 --> 00:09:47,830
And here I need to specify the formatting instructions for my object.

144
00:09:47,840 --> 00:09:53,860
So I just need to put in here to double quotes and inside the double codes I can specify the formatting

145
00:09:53,870 --> 00:09:54,730
instructions.

