
Explore Java fundamentals from variables, operations, and conditions to loops and object oriented programming, then dive into multithreading, collections, database handling, and network programming for building practical applications.
Begin your journey to become a developer by building a calculator with mathematical operations and a tic-tac-toe game, using an interface and logic to deliver complete digital functionality.
Discover how this course helps you land jobs at companies like Netflix and Spotify, highlighting Java's platform independence and network-centric capabilities.
Install the JDK, accept the license, configure the PATH, and install NetBeans, then verify the setup in the command prompt before coding.
Create a simple Java demo project, master the main method and System.out.println to print hello world to the console.
See how a variable acts as a memory spot or box that stores data for future reference, then use assignment to update it in operations like a plus b.
Import the scanner class, create a scanner object, and use nextInt and nextLine to capture numbers and text, then print results.
Learn how commenting works in code, using single-line and multiline styles to document operations, keep code readable, and guide future programmers, while the compiler ignores these statements.
Learns how to convert between primitive data types in Java using type casting and parsing, including int to double, double to string, and string to int or double.
Explore the priorities of operations, explaining brackets first, then multiplication/division, then addition/subtraction. Observe how equal-precedence operations execute from the left, and note the increment, decrement, power, and assignment operators.
Explore the increment and decrement operators in Java, distinguishing pre- and post-forms, their precedence relative to arithmetic operations, and practical examples with integer values.
Explore boolean logic in Java, with true and false conditions, comparison operators like <, >, <=, >=, ==, !=, and logical operators such as and, or, not for if statements.
This lecture demonstrates if-else statements driven by comparison and logical operators, showing how to execute blocks when conditions are true or false, with nested and else-if scenarios using user input.
Learn how to implement a Java switch statement with cases 1 through 4, using break to control flow and a default clause for unknown inputs, with user input via Scanner.
Master how for loops repeat a block of code via initialization, update, and a condition, with examples like printing a name, counting numbers, and selecting even numbers.
Explore the differences and similarities between while, for, and do-while loops in Java, including initialization, condition, and updates, with practical examples.
Master break and continue in Java for loops, learning to skip numbers divisible by four and to exit the loop, with practical print-based demonstrations.
Explore how a one-dimensional array stores multiple elements in a single memory area with zero-based indexing. Understand fixed size, advantages over variables, and risks of wasted space or out-of-bounds errors.
Declare a fixed-size string array and fill it with names. Loop through the array to print items and learn how to read user input with a scanner.
Explains how to create a fixed-size two dimensional array, access elements by row and column with zero-based indexing, and understand upper and lower triangular matrix concepts.
Explore how to implement a two dimensional array in Java, using a fixed size 3x3 matrix, indexing by row and column, populating data, looping through elements, and accessing diagonal elements.
Learn how to build reusable functions in Java by defining methods, passing arguments, and avoiding code duplication. Understand static versus non-static methods, creating objects, and reading user input with Scanner.
Global variables are accessible from anywhere in the class; static allows access without an instance, while local variables stay within a method's scope and are popped from the stack.
Explore function overloading by using the same area function for rectangle and circle with different parameters, and call it in a static context to print the results.
Explore object oriented programming by defining classes as templates, creating objects, and using attributes and methods to model real objects with distinct properties.
Create a class template with properties and methods, instantiate bikes as objects, and use the dot operator to access attributes while calculating price from miles and preparing for constructors.
Constructors initialize a class's attributes during object creation, have no return type, and are called automatically; use public, name-matching constructors with parameters to assign fields via this.
Learn how the static keyword defines class-level fields and methods in Java. Access static members via the class name without creating objects, and understand their shared memory behavior.
Explore encapsulation by using private data, public access, and getters and setters to protect class state, illustrate constructors, and control external access in object-oriented Java.
Override the price method to customize depreciation for a car, replacing the vehicle’s general pricing with a car-specific rate per mile based on miles driven.
Explore the this and super keywords in Java to initialize properties, access superclass members, and override methods in a car and vehicle example.
Discover how abstract classes prevent direct instantiation and require subclass usage in Java, using a vehicle base class and a car subclass via extends.
Learn how interfaces define methods without implementation, enable multiple interfaces per class, and support flexible design with single inheritance through overridden methods in vehicle and operation examples.
Explore how enums model fixed values like gender and weekdays in Java, and build a student class with a name and gender, using constructors, encapsulation, and formatted output.
Learn how to implement a generic class and generic methods in Java, using a single, type-parameterized structure to manage strings, integers, and doubles with angle bracket syntax.
Explain what an exception is and how to handle it with try-catch and finally to keep your app running, using a scanner example for user input.
Practice writing to a text file in java with a file writer, including opening, writing strings, handling exceptions, and closing the file to enable data storage and later retrieval.
Explore reading text from a file in Java using a file reader and a while loop to read characters (ASCII values) until end-of-file, printing the content.
Learn to connect a Java project to a database by importing a library, creating a database with id, name, and password fields, and establishing a connection with a driver manager.
Learn how to insert data into a database table using the insert command, supply values for username and password, and commit and close the connection.
Learn to select data from a database using the select command, view results with a resultset and while loop, and filter records with where id while printing to the console.
Learn to delete a database record using the delete from command, specifying the id in a where clause, and commit and close the connection to finalize the deletion.
learn how to update a database record by ID, set a new password or username, and execute an update with a where clause to verify changes.
Overview:
This course for anyone who want to be Java programmer from scratch, We will start by discus all Java fundamentals that you need to start programming Android, Java web or Java Desktop apps.
Course Contents:
We will start first by install the development environment then you will run your first Java app, and understand how program flow works in Java. Then we will talk about variables and Math operation and prioiites. Then we will take about logic and making decision, then we will talk about loops. then we will talk about functions and OOP concept that you need to use when you program apps with Java, then we will talk about multi-processing and how you could run multi-process in same time and how to avoid Deadlock, then we will talk about Databases, then we will talk about collections and which type collection you have to use for better performance depend on your app. Then we will talk about Java 8 new features, then we will talk about build desktop GUI application with JavaFx.