
Explore Java fundamentals and object oriented programming, learning to formulate problems, design efficient algorithms, and write well-structured programs using variables, control flow, arrays, and methods.
Install Eclipse and the Java Development Kit (JDK) to run projects; download the correct 32-bit or 64-bit packages, install, and configure the workspace for Eclipse.
This is the syllabus for this couse. Please read it to understand what this course is about.
Create a Java project in Eclipse, define a class with a main method, and print hello world using System.out.println and System.out.print, then run the program and observe newline behavior.
Learn to create a Java project and class with a main method, compute a circle area using radius and pi, print the result, and use single-line and multi-line comments.
Declare and initialize variables in Java, compute a circle's area with double radius and area, print the result, and understand the main method public static void main, plus escape sequences.
Learn to use assignment statements and the = operator to set variables, explore named constants with final, and practice arithmetic and binary operator shortcuts in sample programs.
Learn to read numbers from the keyboard with a Scanner to compute the area of a circle and the average of three numbers.
Explore increment and decrement operators in Java, including pre- and post-increment and pre- and post-decrement, with practical examples showing how values change.
Explore selection statements in Java, learn how if and else control flow handles negative radius and invalid input when computing a circle's area, with practical examples.
Learn one-way and two-way if-else statements in Java, declare variables, and evaluate conditions such as greater than or equal to 75 to guide true or false paths.
Explore nested if statements and multiway if/else logic in Java, using diagrams to trace true and false paths, and implement a grade flow with thresholds from 90 to 60.
Explore relational and logical operators, truth tables, and the boolean data type in java, including equality checks, boolean literals, and a simple program using random numbers.
Learn to generate random numbers and build a subtraction program for first graders using random values, prompts, and user input; swap numbers with a temp variable and validate with if-else.
Learn how to use switch statements and breaks to determine the Chinese zodiac sign for a given year by computing year mod 12 and mapping to animals.
Demonstrate how a while loop repeats the print statement to print 'Welcome to Java' 100 times by incrementing a counter from 0 to 99.
Discover how while loops execute statements while the condition is true, with examples counting to 100 and a user input exercise that adds two numbers until the answer is correct.
Explore how a do-while loop in Java executes body before condition, contrasting it with a while loop. Write a program to count to five using do-while and print the number.
Explore how for loops use an initialization, a continuing condition, and an increment to count up to five, with syntax examples and a practical print demonstration.
Learn how nested loops work by building a multiplication table with an outer and inner loop, using for loops, print statements, and alignment formatting.
Demonstrate break and continue in Java loops by showing how break terminates a loop when sum reaches 100 and how continue skips specific iterations in a while loop.
Explore the basics of mathematical functions, characters, and strings in Java, learn to use String objects, and see how these concepts support building simple programs.
Explore common mathematical functions in Java’s Math class, including trigonometric methods (sin, cos, tan), degree‑radian conversions, exponential and logarithmic functions, power, sqrt, rounding, and min/max/abs operations.
Learn how the character data type represents a single character and how to use character literals with quotes, then apply seven methods: isDigit, isLetter, isLetterOrDigit, isLowerCase, isUpperCase, toLowerCase, toUpperCase.
Explore Java string types and core String methods, including length, charAt, concat, toUpperCase, and console input with scanner, plus printing, concatenation, and ordering two cities alphabetically.
Format console output in java by using printf to display currency with two decimal places, as shown in the example that computes interest and uses casting to control decimals.
Learn to define your own methods for reusable code, distinguish predefined and invoked methods, and follow a sum example using parameters and a loop.
Define a method by its name, parameters, and return value type, and by its header and body. Learn about formal parameters, parameter lists, and modifiers such as public static.
Learn how to call a method in Java, including defining max, invoking it with two numbers, understanding activation record and call stack, handling value vs void return, and printing results.
Explore the void method in Java, show that it does not return a value, compare it with return-based char methods, and print or return grades using parameters and conditionals.
Explore method overloading in Java by using the same method name with different parameter lists, and understand pass-by-value through an increment example and signature-based max selection.
Explore single dimensional arrays for storing data like 300 numbers and compare each value to the average, then model a two dimensional distance table for seven cities in Java.
Learn the basics of arrays in Java, including single-dimensional and multi-dimensional arrays, how to declare and create array variables with the new operator, and how to access elements by index.
Explore three ways to copy arrays in java: a for loop, the System.arraycopy method, and the clone method; see how a source array copies into a target array.
Learn how to pass single and multi-dimensional arrays to methods in Java, implement swap methods that swap array elements, and understand why passing array references enables successful in-place swaps.
Learn how binary search works on ordered arrays by comparing the key with the middle element and halving the search range, see a binary search tree example with root 38.
Sort arrays using the selection sort method to arrange numbers in ascending order by repeatedly finding the smallest element and swapping it into place, illustrated with a step-by-step example.
Explore the array class in Java and its static methods for sorting, searching, comparing arrays, filling elements, and returning a string representation of that array.
In this introduction to Java Programming course, you'll learn and practice key concepts by building your own programs. You'll learn java, a powerful, easy-to-learn, and widely used programming language. You'll explore basics of Java as you build your programs. You will know if you have learned it because there will be simple assignments following each chapter. There is no prior programming knowledge needed for this course. I have listed the schedule in the syllabus.