
Install Java on Mac and Windows, then start with hello world and core Java fundamentals, including data types, classes, encapsulation, inheritance, and basic control structures.
Install Java on Mac by locating the Java Development Kit, downloading the JDK, and completing the setup to run Java applications.
Set up a bash profile on mac to install the jdk, configure the environment, and source the profile to apply changes.
Learn to install Java on Windows, download the Java SDK, select 64-bit options, and verify the installation by checking the Java version.
install IntelliJ on mac using the free community edition, download and install, set up a Java project with a JDK, then run and debug code.
Learn how to download and install IntelliJ IDEA on Windows, choose between editions, set up the IDE, customize appearance and font, and begin Java development.
Java for absolute beginners introduces writing a first program hello world, explaining class, main method, and system out print, and how to run in an IDE on Mac or Windows.
Explore what strings are in Java and how they store sequences of characters. Create and print string variables with java.lang.String, using double quotes and string concatenation.
Learn Java datatypes, from byte and short to int and long, plus float, double, boolean, and char, with examples of memory usage and basic type casting.
Explore conditional execution in Java by using if and else statements with string comparisons to decide actions like staying home or going for a walk based on the weather.
Learn how to use if, else if, and else to test conditions in Java, compare x to zero and print positive, negative, or zero numbers, and handle syntax with braces.
Learn how to use conditional expressions with or and and operators to combine multiple conditions, implement if-else and else-if branches, and apply them to retirement and grade scenarios.
Learn how to use switch for conditional execution in Java, with cases for A+, A-, B+, B-, C+, C-, D+, D-, default, and the importance of break to control flow.
Explore how arrays work in Java, including indexing from zero, declaring string and integer arrays, populating elements, and reading and printing array values.
Practice looping in Java by using a for loop to print hello world 10 times, learning initialization, condition, and increment to repeat a block until the limit is reached.
Explore looping in Java with practical while and do-while examples that count from 10 down to 0, showing initialization, condition checks, decrement operations, and printing results.
Explore arrays in Java, learn zero-based indexing, and create string and integer arrays with square brackets and the new keyword; access elements by index and print them.
Explore looping in Java with arrays, using for loops to print elements, compute sums, and find maximum values, while practicing array manipulation and basic data types.
Explore string interpolation in Java and replace long plus-concatenation with the format method to print customer details, name, age, street, city, state, and country clearly.
Explore Java methods as bundles of statements you can call to perform tasks. See examples of parameters and return types, including add with double and greet with string.
Explore creating and calling methods with various return types, including void, string, int, double, and boolean, and printing results from main using system.out.
Explore Java classes as blueprints that define objects with methods and variables, and learn how subclasses inherit traits from parent classes, illustrated by dogs, pets, and vehicles.
Learn how static methods work in Java, call them without creating objects, and understand the main method alongside non-static, instance methods.
Explore instance methods in Java by creating student objects, calling instance methods, and printing personalized data, then compare static methods that run without objects and their memory implications.
Master java constructor methods, including default and parameterized constructors, and how object creation triggers them. Learn how to assign fields and enforce required parameters during instantiation.
Explore constructor methods in Java, including default and parameterized constructors, how to enforce required parameters, and how to use this to initialize fields in examples like customer and vehicle.
Learn how getters and setters provide controlled access to private fields in Java, with practical examples using a car class, constructors, and selective setters to prevent changing key values.
Explore instance variables, local variables, and class variables in Java, and learn how constructors, this, and access modifiers like public and private control data within objects.
Java static variables and constants are class variables declared with static outside methods, enabling access without objects; constants use final and uppercase and remain unchanged across the program.
Group related classes and interfaces into named namespaces with java packages, enabling easy maintenance, access protection, and organized code with built-in and user defined packages.
Learn to manipulate text in Java using string methods such as length, substring, contains, equals, equalsIgnoreCase, isEmpty, split, trim, toLowerCase, toUpperCase, and concatenation.
Explore how the integer class wraps the primitive int, enabling methods like doubleValue and string to integer parsing, and learn to compare numbers with compare and equals using the wrapper.
Explore regular expressions in Java to match, split, and replace text. Learn how to use patterns, word characters, anchors, grouping, and whitespace handling in practical examples.
Learn the core of object oriented programming by exploring encapsulation, hiding data with private variables, and controlling access through getters and setters, illustrated with a customer class example.
Explore inheritance in Java by creating a base class and child classes, and see how a subclass inherits properties and methods from its superclass, enabling code reuse and object creation.
Explore inheritance in Java by building a person base class and an employee subclass, applying encapsulation with private fields and getters, and using constructors and super to initialize objects.
Explore polymorphism in Java by using the same start and stop methods across vehicle subclasses - SUV, semi, and motorbike - delivering different outputs through inheritance and encapsulation.
Learn how overriding replaces a parent class method in a Java subclass at runtime, and how inheritance and runtime binding decide which method runs, with animal and dog examples.
Explore Java's method overloading to define the same method name with different parameter types and counts, enabling flexible calls like add for int, double, or mixed inputs.
Explore how abstraction hides implementation details in Java using abstract classes and interfaces, and see how subclasses implement abstract methods without instantiating abstract classes.
Explore how Java interfaces define only abstract signatures, require implementations of methods like start, stop, and cruise, and differ from abstract classes.
learn how collections group objects and provide a consistent api through the collection interface. explain array list implementing the list interface as a dynamic array with adding, removing, and iterating.
Java OOP linked lists, including generic and non-generic implementations that implement the List interface and support duplicates, show how to add, remove, traverse, and print elements.
Learn how vectors function as dynamic arrays that let you add or remove elements at runtime, specify initial capacity, and compare with array list to decide usage.
Explore Java access modifiers by understanding private, default, protected, and public, and how encapsulation uses getters to access private data from other classes.
Explore Java access modifiers with a focus on the default modifier, showing how it allows access within the same package, unlike private methods, and how packages and imports affect accessibility.
Understand how the protected access modifier controls visibility within a package and through inheritance. See how a subclass can access a protected method from another package.
Learn how the public access modifier makes classes and methods accessible everywhere, and how to use public static void main to run a Java program with packages and imports.
Explore how Java access modifiers private, default, protected, and public control visibility. See an employee example illustrate private fields, default access, protected display of salary, and public display of benefits.
Master java file i/o by using byte streams and character streams, reading and writing files with file reader and file writer, handling path and exceptions, and using input and output.
Learn how to read and write files in java using file input stream and file output stream, explore byte streams versus character streams, and manage closure in finally blocks.
Explore JUnit as a Java testing framework, write test methods with @Test, and verify outcomes using assertions, with setup and teardown via @Before, @After, @BeforeClass, and @AfterClass.
Master JUnit by creating test methods for addition, using before and after hooks, and running a test suite to validate expected results and assertions.
Explore Maven as the essential Java project management tool, learn how to manage dependencies, artifacts, and the project object model, and enable easy compilation, testing, and updates.
download the Maven binary for Mac from the Apache site, extract, and configure JAVA_HOME and PATH in your bash profile so Maven works in the terminal.
Install Maven on Windows by downloading the binary, adding the path, and verifying with mvn -version. The lecture also shows configuring Maven on Mac and confirming Java version.
learn how to create a maven project, configure groupId, artifactId and version, add dependencies, and run clean, compile, test, and package goals to produce a deployable jar.
Explore Java fundamentals from Hello world to encapsulation, inheritance, and interfaces, and learn Maven-based project setup, testing, and file types such as characters and bytes.
Hello Students,
As the Course title says it all, this course "Java For Absolute Beginners" is created absolutely for any one wanting to get their hands dirty and learn programming language.
Since Java is the most commonly used language, It is very essential to learn Java if you want to get your hands dirty and learn some programming language.
If you are new to programming or have no prior knowledge about programming, then look nowhere.
This course is totally dedicated and planned for new comers who wants to learn programming and there is no any other popular language than "Java" to learn programming.
Please find the curriculum or course contents below.
Section 1: Introduction
Introduction
Course Overview
Section 2: Software Setup
Java Installation for Mac
Bash Profile Set up for Mac
Java Installation for Windows
IntelliJ installation for Mac
IntelliJ Installation for Windows
Section 3: Java Essentials
Hello World
What is String?
Datatypes in Java
Conditional Execution - If & Else
Conditional Execution - If, Else If & Else
Conditional Execution - OR, AND
Conditional Execution - Switch
Arrays in Java
Looping in Java - for loop
Looping in Java - while loop
Looping in Java - Arrays - part 1
Looping in Java - Arrays - part 2
String Interpolation
Java Methods part 1
Java Methods part 2
What are Java Classes
Types of Java Method - Static Methods
Types of Java Method - Instance Methods
Types of Java Method - Constructor Method
Getters and Setters in Java
Instance Variables in Java
Java Static Variables & Constants
What are Java Packages?
Java String Class Methods
Java Integer Class Methods
Regular Expressions in Java
Section 4: Intermediate Java
Java OOP - Encapsulation
Java OOP - Inheritance - part 1
Java OOP - Inheritance - part 2
Java OOP - Polymorphism
Java OOP - Overriding
Java OOP - Overloading
Java OOP - Abstract Class
Java OOP - Interface
Java OOP - Array List
Java OOP - Linked List
Java OOP - Vector
Java Access Modifiers - Private
Java Access Modifiers - Default
Java Access Modifiers - Protected
Java Access Modifiers - Public
Java Access Modifiers Recap
Java File IO Types - Byte Stream
Java File IO Types - Character Stream
Section 5: JUnit Testing Framework
Intro to JUnit - part 1
JUnit Continued
Section 6: Java Build Tool - Maven
Intro to Maven
Maven Installation for Mac
Maven Installation for Windows
Maven Project Demo
Section 7: Conclusion
Helpful Resources
Bonus (Secret)
Final Words
Happy Coding!
Thanks,
Ashok