
Explore java's structure with the jdk compiler, runtime, and jvm. Ensure every executable class has public static void main(String[] args) as entry point, noting overloads must use the same signature.
Learn how to pass and access string arguments to a Java program using the main method’s string array, via run configurations with program and VM arguments and the command line.
This file contains all the demonstrations from this section.
Invoke instance methods using an object reference by initializing base and height with init data, then display data and calculate area for a triangle.
Explore Java constructors, including the default constructor and parameterized (overloaded) constructor, and how the JVM initializes fields to default values, setting triangle base and height and calculating area.
Learn about local variables and instance variables in Java, their visibility and default values, with examples from blocks and methods, and note that static variables are introduced later.
This file contains all the source codes for this section.
Understand abstraction by hiding internal implementation and exposing simple interfaces, as shown by a coffee vending machine and a car. Java uses interfaces and abstract classes to provide customizable services.
Learn how inheritance lets you create new objects from existing ones by extending classes or using interfaces in Java.
Discover how to implement basic inheritance in Java using the extends keyword, by creating an Animal class with eat and sleep and a Dog that inherits its behavior.
Explain rules of method overriding in Java, including inheritance, matching argument lists, covariant return types, access modifiers, and that final, static, and private methods cannot be overridden, with checked exceptions.
Explore polymorphic reference and dynamic dispatch, where a superclass reference to a subclass object calls only superclass methods unless you downcast to access subclass methods like get trained.
Discover how the final keyword in Java prevents reinitialization of variables and data members, creating constants. Learn that final methods cannot be overridden and final classes cannot be subclassed.
Discover how Java's cosmic superclass, the Object class, supplies common methods such as clone, equals, hashCode, and getClass, illustrated by an employee class, its constructors, and a simple display method.
Compare the equals method with the == operator to show how reference equality differs from member-wise object equality, and explain overriding equals for content-based comparison using an employee example.
The clone method in the object superclass creates a copy of an existing object, with cloning controlled by the Clonable marker interface and optional deep copying via overriding.
Explore how default methods in interfaces, introduced in Java 8, support backward compatibility and enable lambda-friendly design by providing method implementations in interfaces.
This file contains all the source codes for this section.
Master Java users explore nested if else by evaluating condition one in the outer if, then condition two in the inner if, guiding block one, inner else, or block two.
Java 16 pattern matching removes explicit casting in instanceof checks by binding a pattern variable when p is an employee, with the variable scoped to the true block.
Master Java for loops and nested for loops by exploring initialization, boolean condition, and step in a readable syntax; learn outer and inner loop execution and practical practice for interviews.
Explore how while and do-while loops in Java iterate the body based on a boolean condition. While evaluates the condition before execution, do-while runs at least once before checking.
Explore Java 14's switch with the expression, returning values with the arrow operator or using yield for cases with logic, reducing redundancy and enabling value-driven business logic.
This file contains all the source codes for this section
Master Java 9.0 to 17.0 teaches creating and using 2D arrays in Java by declaring, initializing, and accessing array of arrays, and printing elements with nested loops.
The file contains all the source codes for this section.
This file contains all the source codes for this section.
Explore core string API methods like charAt, endsWith, and toUpperCase, distinguish processing versus data extraction, and discuss zero-based indices and string immutability with reassignment after transformation.
Master Java string API by comparing strings with equals and equalsIgnoreCase, trimming spaces, chaining methods, concatenating with plus or concat, and splitting or replacing content.
Explore Java 11 string updates: isBlank, lines, and repeat, including whitespace handling, line separators, and streaming lines for printing, and repeating a string multiple times.
This file contains all the source codes for this section.
Explore the two types of exceptions the JVM recognizes: checked exceptions, enforced at compile time, and unchecked exceptions, runtime errors that may crash the program if not handled.
Explore catch block chaining to handle multiple exceptions with chained catch blocks. The lecture demonstrates array index out of bounds and arithmetic exceptions and how they are managed.
Learn to use a multi catch block with the or (|) operator to handle multiple exceptions in one catch, and compare generic versus specific handling strategies.
This file contains all the source codes for this section.
Learn how to set up and connect MySQL for Java projects, including installing MySQL, using the command line and workbench, creating a database, listing tables, and running basic select queries.
Explore the JDBC API in the java.sql module, including driver manager and get connection, using interfaces such as connection, statement, resultset, prepared statement, and callable statement to work with MySQL.
Set up a JDBC project with module support from Java 9+, create module-info, add requires java.sql, and include the MySQL driver in Eclipse to connect to a MySQL 8.6 database.
Establish a database connection using JDBC with DriverManager.getConnection for a MySQL database on port 3306, using the URL, username, and password. Address the module system requirement and packaging.
Learn to use the statement interface and execute query to fetch records from employee table, iterate result set, and retrieve data with get int or get string by column index.
Explore how the JDBC prepared statement precompiles queries to reduce driver database load, enabling safe parameter binding with setInt and setString for inserts.
Master in-out parameters in stored procedures by using a single variable for input and output, illustrated by a counter that updates 10 to 12.
This file contains all the source codes for this section.
Learning Java was always a FUN. Understanding and implementing OOPs to design and develop Java application was enjoyable for sure.
That was true, until few years back. To be specific until Java 10 version was launched with the new approach of "Time based version release". Under this approach, for every 6 months new Java version will be released. For instance, Java 10 was launched on March 20, 2018, and Java 11 was launched on Sept 15, 2018, exactly after 6 months.
Though this was good approach for API developers (as they can release smaller chunks), it had become a nightmare for developers. Getting to know the API changes in each and every version is not a simple job for sure. Though every version might not have drastic changes, there has to be enough support and evidence from the community for which developers would always struggle.
This course is savior for all such developers, who are keen to know the API changes from Java 9 to Java 17. During this entire course you will learn almost all the features those were introduced as a part of corresponding version release. The course "Master Java 9.0 to 17.0" does not only explain you the concepts, but also covers the proof of the concept by using different programs. Though the course title is, "Master Java 9.0 to 17.0" is covers everything that you need to know to become successful Java developers. For instance, the course covers functional interfaces, lambdas, and stream programing from Java 8 as well. Along with this it covers features like JPMS(Java Platform Module System) from Java 9, and other concepts like modified switch case, var keyword, updates in Stream and Collection API etc. Even if you are new to Java, this course is right choice for you because it covers the traditional concepts like concurrency, collection, generics, exception handling, String api etc. This course will be certainly one of the best choices for you, if you are aiming to make a exciting career in Java.
So, if you are really keen to learn all the features from Java 9.0 to 17.0, REGISTER FOR THIS COURSE.