Java
• Platform Independence
• Bytecodes
• JDK and JVM
• Java compilation process
• Object code
1. Generated by any translator such as compiler
2. Can consist of bytecodes, machine code or both
• Ordinary/Traditional compilation process
• Features of java: Simple, Secure, Portable, Plateform Independent,
Robust(stong memory management) etc
• Type of java programs
• Applications
• Applets: It is a small programs developed for internet applications
Java
Parts of java program
/*
This program demonstrates
Parts of a java program
*/
public class FirstProgram
{
public static void main(String[] args)
{
// Display message.
System.out.println(“Hello World!”);
}
}
Java
• Blue J
• Writing, Compiling and Running
Source Code compiler Byte Codes Interpreter
Machine
Code

9th intro to java.pptx it include class, objects

  • 1.
    Java • Platform Independence •Bytecodes • JDK and JVM • Java compilation process • Object code 1. Generated by any translator such as compiler 2. Can consist of bytecodes, machine code or both • Ordinary/Traditional compilation process • Features of java: Simple, Secure, Portable, Plateform Independent, Robust(stong memory management) etc • Type of java programs • Applications • Applets: It is a small programs developed for internet applications
  • 2.
    Java Parts of javaprogram /* This program demonstrates Parts of a java program */ public class FirstProgram { public static void main(String[] args) { // Display message. System.out.println(“Hello World!”); } }
  • 3.
    Java • Blue J •Writing, Compiling and Running Source Code compiler Byte Codes Interpreter Machine Code