
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Follow the course from the beginning and view every lecture in each section. Use provided resources and download the code, then write and debug it, asking questions as needed.
Install the Java Development Kit (JDK) by downloading from Oracle, learn JDK, JRE, and JVM roles, and verify setup with javac and java, including optional path configuration.
Write your first Java program using Notepad, create a MyJava folder, save as Myfirst.java, compile with javac, and run with java Myfirst to print Hello World.
Install jdk on macOS from Oracle, use macOS dmg for Java SE 15, install, verify with javac -version and java -version, then write and run a first Java program.
Explore the skeleton of a Java program with a hello world example saved as first.java, and highlight the main method signature public static void main(String[] args) and System.out.println.
Explore Java program skeleton: create First.java with a public class and main method, print Hello World, compile with javac, run with java, and use command line arguments via args.
Learn to read data from the keyboard in Java using the Scanner class and System.in, including integers with nextInt and strings with nextLine.
Learn to read from the keyboard with Scanner, using nextInt, next, nextLine, and basic error handling, while exploring System.in and System.out and simple two-number addition.
Write and run your first Java program using Notepad and the command prompt, create a working directory, and compile with javac to see your program output.
Explore Java's primitive data types—byte, short, int, long, float, double, char, and boolean—along with their sizes, ranges, and default values, and how variables store them in memory.
Explore how to determine the size and range of Java data types using wrapper classes and their constants like MIN_VALUE, MAX_VALUE, and BYTES, with practical examples.
Explore how variables store data in Java, requiring declaration and initialization, choose data types: byte, short, int, long, float, double, and char by value, allow changing values, and manage memory.
Learn the rules for Java variable names, including case sensitivity, valid characters, starting rules, keyword and class name restrictions, and how camelCase and separators like _ and $ aid readability.
Explore how literals express constant values in Java, including integer, long, float, double, char, boolean, and string literals, with decimal, binary, octal, and hexadecimal forms and type suffix rules.
Explore integral data types in Java, including int, long, short, and byte, their 4-byte and 8-byte sizes, how signed values use the sign bit, two's complement, and 16-bit compatibility.
The lecture shows how the integer 5 is stored as binary 101 in a 32-bit memory and printed with Integer.toBinaryString. It also explains 2's complement for -5.
Explore how floating point numbers use mantissa and exponent to represent decimals, with IEEE 754 standard, and how ASCII and Unicode codes encode characters in Java with two-byte characters.
Discover how to use unicode.org charts to display Greek and Devanagari characters in a Java program, using hex codes like 0x0370 and 0x03C8 in NetBeans.
Install Notepad++ as a Java programming editor, choose 64-bit or 32-bit, write and save MyFirst.java, compile with javac, and run Hello World to see syntax highlighting.
Download and install Apache NetBeans, configure the JDK path, and activate the Java SE plugin. Create a Java project, write a hello world program, and run it to see output.
Install and set up IntelliJ IDE for Java development, choose the community version, configure JDK 13, create a simple MyFirst Java project, and run Hello World to see it execute.
Explore how interpreters and compilers translate programs to machine code, compare line-by-line execution with separate translation files, and explain Java's hybrid bytecode and JVM interpretation.
Explain how Java source files compile to bytecode and run on any OS via the JVM, proving write once, run anywhere.
Demonstrates the platform independence of Java programs via the JVM by compiling on Windows and running the resulting Test.class on Mac, contrasted with C++ that fails across platforms.
Explore the Java virtual machine architecture, including class loading, memory regions (method area, stack, heap), the execution engine with interpreter and JIT compiler, and garbage collection.
Explore the JVM architecture, including class loading by bootstrap, extension, and application loaders; verification, linking, initialization, and the reflection API, plus the execution engine with interpreter and JIT.
Discover Java's features from simplicity and security to portability, multithreading, and distribution, and see how the JVM enables architecture neutral, dynamic, and object oriented design.
Explore arithmetic, modulus, increment and decrement, bitwise, relational, and logical operators in Java, and learn operator precedence, expression evaluation, and data type results through practical examples.
Explore arithmetic operators in Java with practical demonstrations in NetBeans. Learn division and mod operation results for integers and floats, explore type compatibility, and control operator precedence with parentheses.
Learn to write Java expressions to compute triangle area from base and height using (1/2)bh, then extend to area with three sides using s=(a+b+c)/2 and Math.sqrt.
Learn to find roots of a quadratic equation using a, b, c, discriminant, and the quadratic formula in a Java program that computes r1 and r2 with Scanner and Math.sqrt.
Learn to calculate the cuboid's total surface area and volume from length, breadth, and height, then implement a Java program that reads three inputs and prints area and volume.
Explore pre and post increment and decrement operators in Java, learn how expressions determine operation order, and see effects on int, float, byte, and char, and booleans cannot be incremented.
Explore pre and post increment and decrement operators in Java, compare their behavior in standalone statements versus expressions, and observe type-specific effects on int, float, char, and byte.
Explore bitwise operators in Java, including and, or, xor, left shift, right shift, and unsigned right shift, with integer truth tables and examples, and note only integers support these operations.
Explore how bitwise operators in Java perform left shift, and right shift, including sign handling, 2's complement, and not operation, showing how shifts multiply or divide by powers of two.
Demonstrates bitwise operators in Java, including and, or, xor, left shift, right shift, and not, using binary literals and 32-bit integers to show practical results.
Explore bit merging and masking using bitwise or and bitwise and operations to set and test individual bits, and learn to store two numbers in one byte via nibble splitting.
Learn to swap two numbers with bitwise xor in Java, then store two values in one byte using masking, shifting, and or, and recover them with bitwise and.
Explore widening and narrowing in Java data types by showing when the compiler implicitly upcasts smaller types to larger ones, and when explicit downcasting can lose data.
Learn to print in Java with System.out, println vs print, and overloaded methods for all data types, plus string concatenation and using printf/format.
Explore the printf and format methods in Java, learn format specifiers like d, f, c, how variable arguments and indexing control output, including scientific notation and hex or octal forms.
Learn to format output in Java using flags, width, and precision with printf and format, covering integer, float, and string conversions, alignment, padding, and sign handling.
Explore the Java string class, string literals, and constructors from char and byte arrays, plus how new creates heap objects and how the string constant pool is used.
Learn how to create string objects in Java using literals, constructors, and arrays, and explore the string pool, heap allocation, and constructors with a starting index and length.
Explore core string class methods in Java, including length, toLowerCase, toUpperCase, trim, substring, and replace, and learn that string objects are immutable and return new objects.
Explore java string class methods in NetBeans ide, including charAt, length, toUpperCase, trim, substring, and replace, then see strings as immutable and results stored in new variables.
Explore practical string handling in java by using startsWith and endsWith to detect the beginning and end of strings, along with charAt, indexOf, and lastIndexOf to locate characters or substrings.
Explore essential string methods in java, including startsWith, endsWith, charAt, indexOf, and lastIndexOf, with case sensitivity and overloads demonstrated on sample strings.
Explore string methods equals, equalsIgnoreCase, and compareTo, with practical examples on dictionary order, case differences, and literals versus new strings, plus valueOf for converting values to strings.
Explore java string methods such as equals, equalsIgnoreCase, compareTo, contains, and concat, and learn about string pool, immutability, and valueOf for converting other data types to strings.
Explore string matching with regular expressions in java, using quantifiers like star, plus, and ?, along with character classes and exact-length patterns to validate strings and emails.
Parse an email with string methods to split into username and domain using indexOf and substring, then check if the domain is gmail with equals or compareTo.
Develop and test regular expressions in Java to validate binary and hexadecimal strings and a date format, using string conversion and the matches method.
Learn to clean strings with regular expressions in Java: remove special characters, collapse spaces with replaceAll and trim, and count words using split.
Explore relational and logical operators in Java, including >=, ==, and !=, to compare values, produce boolean results, and use &&, ||, and ! to frame conditional statements.
Explore Java conditional statements, using if and else blocks, nesting and else-if ladders. Apply practical examples like checking numbers for positivity and finding the maximum of three values.
Explore relational and logical operators in Java, compare data with booleans, and implement conditional statements using if-else ladders and nested ifs, with debugging techniques and exercises.
Explore java fundamentals through a three-task challenge using conditional statements and scanner input to determine odd or even numbers, check age limits, and grade three-subject marks.
Learn to write a Java program that determines the radix of a string number (binary, octal, decimal, hex) and checks leap years using conditional logic.
Master Java by building a program that reads a day number to display the weekday and identifies a url protocol, such as http or ftp, and its website type.
Master switch case in Java by learning syntax, break, default, fall through, and how switch compares to if; explore menu driven programs and string cases since Java 7.
Learn how switch case in Java replaces else-if ladders, using numbers to words, break and fall-through behavior, and string switches in menus and simple GUI apps.
Create a menu driven program using switch case to perform add, subtract, multiply, and divide on two numbers, with the operation chosen by ADD, SUB, MUL, or DIV.
Explore java loops, focusing on while and do-while with syntax, flowcharts, and examples that show how to repeat statements and compare loop types.
This lecture demonstrates while and do-while loops with a powers of two example, explains loop conditions, finite and infinite loops, and debugging, and previews the next for loop.
Explore the for loop as a counter controlled structure with initialization, condition, and updation, and compare it to while and do..for while through simple counting examples.
Master the for loop by examining initialization, condition, and updation; practice printing 0 to 10, experimenting with increment, decrement, and multi-variable updates in a flexible loop.
Learn to implement loop-based solutions in Java to generate a multiplication table, compute the sum of natural numbers, and calculate a number's factorial using a scanner and for loops.
Master how to extract digits of a number using mod 10 and division by 10, count digits with a while loop, and test Armstrong numbers by summing cubes of digits.
Learn to reverse a number with a while loop by taking digits with mod 10, updating the reverse, dividing by 10, and then compare to the original to check palindrome.
Display each digit of a number in words, including trailing zeros, by reversing the number, building a digit string, and printing digits as words with a switch statement.
Explore and implement arithmetic progression, geometric progression, and Fibonacci series in Java by taking starting term, common difference or ratio, and term count, then printing n terms as comma-separated sequences.
Learn java pattern printing with nested for loops, using i for rows and j for columns, printing number sequences and i+j results, and formatting two-digit output for alignment.
Explore how to create and print patterns in Java using nested for loops, controlling inner and outer loops, printing numbers or symbols, and formatting output.
Master star pattern printing with nested loops and i, j indices to form five by five grids of stars and spaces. Apply conditionals for space placement and pattern size.
The course consists of JAVA features, Java SE
Concept of programming are made simple and easy.
Every topic is explained with real-life examples.
This course is designed to make you familiar with JAVA Programming in detail.
By the end of the course you will understand Java extremely well and will be able to build your own Java applications.
After completion of the course, you will be as productive as a software developer.
The course is taken right from basics to all the features in JAVA.
Basic topics like – Methods, Object-Orientation and Inheritance are explained.
Features like – Multithreading, AWT, Swing, Collection Framework and Networking are also covered in a detailed manner.
Who this course is for
Beginner in java programming, want to learn in-depth java programming
This course is ultimate for absolute beginners and the intermediate looking to improve their aptitude to expert level
Students who want to learn java perfectly
Course Contents:
Introduction to Java
Setup Java Environment.
Operator and Expressions.
String Class and Printing.
Conditional Statements.
Loops.
Arrays.
Methods.
Object-Oriented Programming.
Inheritance.
Abstract Classes
Interfaces
Inner Classes
Static and Final
Packages
Exception Handling
Multithreading
java.lang Package
Annotations and Javadoc
Lambda Expressions
Java IO
Collection Framework
Network Programming
AWT
Swing
Support from Instructor
if you are a beginner then follow the course in same order and practice everything you learn.
you can always ask question in Q&A section. you will find it below every lecture. Please don't use messages for asking doubts.
Your questions will be answered within 48 hours. before asking a question please check the question and answer for previously asked question.