Course Title
• Java Programming Fundamentals
Hello! Instructor introduction
• Instructor: Priyanka Gandham
• Full Stack Developer & Java Trainer
• 6+ years experience in training and development.
About the course
• This course introduces the basics of Java programming,
covering core language features, object-oriented concepts, and
practical hands-on exercises to build confidence in
programming.
Course Objective
The objective of this course is to:
1. Understand the fundamentals of Java
2. Learn how to write simple Java programs
3. Explore data types, variables, and operators
4. Understand basic input/output
5. Prepare for advanced Java concepts
Course Schedule
• Day 1 – Introduction to Java & Language Basics
• Day 2 – Control Statements & Loops
• Day 3 – OOP Concepts: Classes, Objects, Inheritance
• Day 4 – Arrays, Collections, Exception Handling
• Day 5 – Java API & Project Practice
Day 1 – Agenda
▶ Overview of Java and JVM
▶ Java Features and Editions
▶ Structure of a Java Program
▶ Java Syntax and Identifiers
▶ Data Types and Variables
▶ Operators and Expressions
▶ Type Conversion and Casting
▶ Practice Examples and Q&A
What is Java?
• Java is a high-level, object-oriented language.
• Platform-independent using JVM.
• Secure, robust, and simple to use.
• Developed by Sun Microsystems, now owned by Oracle.
Java Features
• - Simple
• - Object-Oriented
• - Platform Independent
• - Secure
• - Robust
• - Multithreaded
• - Distributed
• - Dynamic
Java Editions & Tools
• Java SE – Standard Edition
• Java EE – Enterprise Edition
• Java ME – Micro Edition
• JDK – Development Kit
• JRE – Runtime Environment
• JVM – Java Virtual Machine
First Java Program
public class Hello {
public static void main(String[] args) {
System.out.println("Hello, Java!");
}
}
Java Syntax and Identifiers
• - Identifiers: Names for variables, methods, classes
• - Must not begin with digits
• - Cannot be keywords
• - Case-sensitive
Data Types and Variables
• Primitive Types:
• int, float, double, char, boolean
• Example:
• int age = 25;
• char grade = 'A';
• boolean passed = true;
Operators in Java
• + Addition
• - Subtraction
• * Multiplication
• / Division
• % Modulus
• == Equal, != Not Equal, >, < etc.
Practice Questions
• 1. Print your name using Java
• 2. Declare all primitive data types
• 3. Perform basic arithmetic