 Welcome to the second session of the Java programming. Today we will see the types of operators and the programs based on the different types of operators. What are the learning outcomes? At the end of the session, the students will be able to explain the concepts like Java development kit, Java runtime environment and Java virtual machine. Also, the students will be executed the program regarding the types of operators. Content. First, we will see the recap of the first session. After that, we will see JDK, JRA and JVM. And after that, we will see what are the different types of operators. The recap of the first session, what we have learned in the first session. We have seen the object-oriented programming. What is meant by object-oriented programming? What are the different types of object-oriented programming like abstraction, inheritance, encapsulation and polymorphism? Classes are the main parts of object-oriented programming in the Java programming. Object data methods, variables are the part of classes. For example, car is the class and the different types of cars are the objects. Object-oriented programming consists of the encapsulation, polymorphism and inheritance. Encapsulation means wrapping up together the different types of entities in a single unit. Inheritance can interchange the different properties from one class to another class. A different function like a draw function can consist of different functions like suppose we want to draw something like triangle, rectangle and the circle which will be in the single function like draw. The features of Java programming, there are different types of features of Java programming like compilation and interpretation. These are the two stages of Java programming. Java programming is a robust and secure. Type once and run anywhere that is the tagline of a Java programming. Multi-threaded language. Java programming is a multi-threaded language that is multitasking. We can distribute the Java software or the coding very easily. Now, entering into the second section, the two ways of Java programming. Here we can see Java source code will be at the top that is our program. We have to compile the program. Always remember the Java programming is a two-stage programming that is compilation, that is Java compiler. Java C is the code. There are the two types of applications like applet type and the application type. For the applet type, we have to use the internet web browser. Our different types of programs will be based on the application type. So here, after web browser, the output will be in the form of the applet. In the applet view, we will get the output. In the application type, there will be the interpretation and after that, we will have the different outputs in the Java software. Java development kit. Java development kit consists of the different types of files like Java C, Java compiler, Java interpreter that is Java, applet viewer that is very main Java development kit file, Java H, Java P and Java doc. First, we will see the Java compiler. Java compiler or Java C is the first stage of to get the output. We are having the source code. Now, we want the byte code. So Java compiler is the intermediate point between the source code and the byte code. So we have to convert the source code into the byte code with the help of Java compiler. Whenever we will get the byte code, we have to convert it into the output. We have to achieve the output with the help of Java. We can achieve the output. Java is the Java interpreter. Applet viewer. Suppose we want to design the web page. Applet viewer is the Java development kit file with the help of which we can design the different types of internet web pages, which is not present in the C++ and C programming. Java H. The header file, suppose we want to include the header files in the Java programming, Java H is used. Suppose we want the byte code into the source code. Yes, with the help of compiler, we can achieve the source code into the byte code. But vice versa, suppose we are having the byte code, that is class file. And now I want the source code, means the program. Java P is the Java development kit file with the help of which we can achieve the byte code into the source code. Suppose I want to create the different HTML document files. Yes, with the help of Java doc file, we can create the HTML document files. Java runtime environment. It consists of Java virtual machine. We will discuss the Java virtual machine in the next slide. Runtime class libraries, user interface toolkits, the deployment technology like Java plugin and Webstart. Runtime class libraries. Suppose I want to use the variables or maybe the values. And suppose I want to calculate something or the mathematical functions. There is a library which consists of each and every code. Each and every variables, values, alphabets, arrays, pointers, which is present in the libraries. So during the runtime, means during the output, these class library files will be useful. Abstract window toolkit, which is useful for graphical entities, which is in the user interface toolkits. Deployment technologies, which is used for applets. Suppose you want to design the internet web pages. Java plugin and Java Webstart will be used to create the different applet programs. Java virtual machine, which is similar to the combination of compilation and interpretation. First, the first step is the source code will be converted into the class file, which is also called as the virtual machine, which is done with the help of Java compiler. After that, now we are having the virtual machine, means the bytecode, which will be converted into the machine code that is output with the help of Java interpreter. Means, here the virtual machine is used as an intermediate between the source code and the machine code that is output. Think about this question, correlate Java development kit, Java virtual machine and Java runtime environment. This is a very simple program, very basic program. Always remember, the program always will start with the class and the class name. Test is the class name. Public static wide man string errors is the main statement in any program. We have to use this statement. Suppose I want to print something, maybe a statement or the world or later. So, system.out.println is the statement to print something on the screen. System.out.println to the next line in the bracket, welcome to the advanced computer programming. That will be the statement that will be printed on the screen. This is the output. Now, how to execute the program? First, there will be the compilation and the second one will be the interpretation. For the compilation, Java C space test.java. Means, we have set this file with the help of test.java file. So, Java C space file name. After that, there will be the creation of the class file. So, test is the class name here. Test is the class name. So, Java space test with the help of which we can achieve the output. What are the different types of operators? Arithmetic operator, relational operator, logical operator, incremental and decremental operator. Before going to the references, we will see the different programs like arithmetical, relational, logical and incremental and decremental operator. This is the program for the relational operator. These are the values in the program that is 50 and 51 for the and 49 for the variables a, b, c. The different relational operators will be a less than b, a less than equals to b, c less than b, a greater than equals to c. Here, the values will be calculated directly with the help of Java programming. Here, we don't have to calculate manually. So, system.out.println a is equal to plus a. With the help of plus a, the value will be printed here. That is, a is equal to 50 plus will be for the value. Similarly, b is equal to plus b plus b will provide you the value for the b that is b is equal to 51. Here, a less than b is equal to this is only the statement in the double inverted comma plus a less than b with the help of plus the output will be printed automatically. r, a, l, o, p, r that is a class name and the file name is also same. You can have the different file name also. We will see the output. So, Java C, that is the Java compilation r, e, l, o, p, r dot Java r, e, l, o, p, r. So, Java space. So, after that, Java C, r, e, l, o, p, r dot Java, there will be the creation of the class file. Now, we want the output. Java space, the class name r, e, l, o, p, r. So, these are the inputs which are provided in the program and directly the output will be in. The output will be in the form of true and false. Similarly, suppose we are having the two values that is a is equal to 20 and b is equal to 30. I want to calculate plus plus a that is incremental operator. Here, whenever we are using the plus plus a that is the before incremental operator, there will be the addition in this incremental operator. But here, that is b plus plus. Whenever you are using the incremental operator after the variable, after recalling the original variable, there will be the addition. We will see the output here. So, Java C, id, op, r dot Java. So, Java space, id, op, r. So, you can see a and b are having the 20 and 30 values. Whenever we are recalling plus plus a, there will be the change in the value by 1. But whenever we are recalling the b plus plus that is the incremental operator after the variable, there will not be change. But whenever we are recalling again the variable b, there will be the change in the value. This is the difference between the using the incremental variable before the variable and after the variable. These are the references. Thank you.