Posts

Showing posts from April, 2021

Lesson 02: javac, jdk and Datatypes in java

Image
  Javac : Java compiler Java compiler converts high level source code that is daba program into byte code whenever a Java Program is compiled it produces a file having dot class extension. for each class present in our Java program the dot class file contains bytecode of respective class Java program can be compiled by using following syntax   javac java_file_name.java Java: This is a Java interpreter. The Java interpreter converts the bytecode into native machine level code ( that is into code that can be understand by operating system ) close and execute Java program. A Java Program can be executed by specifying name of the class which contains main () java_class_name having main() function Data Types in Java