WEBVTT 1 00:00:01.113 --> 00:00:02.228 This week you are going to learn some of the 2 00:00:02.229 --> 00:00:04.228 basic features of the Java language 3 00:00:04.229 --> 00:00:07.226 with the help of the CodePad feature in BlueJ. 4 00:00:08.116 --> 00:00:10.118 In this demo I'm going to show you how to open the 5 00:00:10.119 --> 00:00:12.119 CodePad if it's not already open 6 00:00:12.228 --> 00:00:15.113 and how to get started using it. 7 00:00:16.222 --> 00:00:19.001 The CodePad is a separate region alongside 8 00:00:19.002 --> 00:00:22.004 the Object bench, and its not shown by default in BlueJ. 9 00:00:22.114 --> 00:00:23.228 If you don't see the CodePad 10 00:00:24.000 --> 00:00:27.007 you can open it using the show CodePad option 11 00:00:27.009 --> 00:00:29.005 in the View menu 12 00:00:29.114 --> 00:00:32.008 and there it is, I'm just going to resize this window 13 00:00:32.009 --> 00:00:34.002 before i go any further. 14 00:00:35.115 --> 00:00:37.221 Now I can start typing in the CodePad 15 00:00:37.225 --> 00:00:40.223 lets try something nice and simple, three plus two 16 00:00:41.009 --> 00:00:44.009 as soon as I press enter BlueJ will do the calculation 17 00:00:44.111 --> 00:00:46.005 show me the result, five 18 00:00:46.115 --> 00:00:50.006 and also show me the type of the result, its an Integer. 19 00:00:51.008 --> 00:00:53.008 So anything you type into the CodePad 20 00:00:53.112 --> 00:00:56.117 as soon as you press enter BlueJ will evaluate it 21 00:00:56.224 --> 00:00:58.113 and show you the result.