
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 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.
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.
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.
Learn how nested loops work by building a multiplication table with an outer and inner loop, using for loops, print statements, and alignment formatting.
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.
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.
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 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.