Overview
Syllabus
Introduction
Creating .java file
Setting Up Few Things
Structure of Java File
Creating Main Function
Writing First Line of Code Printing "Hello Word!"
Converting .java to .class Byte Code
Running Main.class
Explanation of words of the Program
What is 'public' 1st line?
What is 'class'?
What is 'Main' in this code
What is 'main function'?
What is 'public' 2nd line?
What is 'static'?
What is 'void'?
Array and Arguments
Changing Location of Byte Code
Location of 'javac' and 'java'
Environment Variable PATH
Starting with IntelliJ IDEA
Some Shortcuts
What is a 'package'?
What is 'System.out.println'?
Outputs in Java
Inputs in Java
Primitive Data Types in Java
Comments in Java
Int Input Program
Literals and Identifiers
String Input Program
Float Input Program
Sum of Two Numbers
Type Conversion and Casting
Type Conversion
Conditions for Type Conversion
Typecasting
Automatic Type Promotion in Expressions
Java follows Unicode
Rules for Type Promotion
Example for thorough review of concepts
Basics of while loops and for loops
if condition
while loops
for loops
When to use - while loop and for loop
Temperature Conversion Program
Outro
Taught by
Kunal Kushwaha