Programming with Java

Learn and Master Java Programming

Programming Basics & Databases4.9(54)16h 42m75 lectures29 sections

What you'll learn

  • Learn the rules of Java programming
  • Use loops and control statements
  • Create functions
  • Understand object-oriented programming and inheritance
  • Work with strings and data streams
  • Work with arrays and collections
  • Handle program errors
  • Design the application interface and handle events
  • Use the SQL query language in Java
  • Build a complete project

About this course

This course teaches programming with Java from the beginning. Java is a powerful language used in web applications, desktop applications and more. It starts with important introductions and setting up Oracle JDeveloper, then the rules of Java programming, loops, flow control statements and functions. Next you learn object-oriented programming concepts, inheritance, building the program structure, working with strings and data streams. Then you move on to an introduction to ADF, web programming concepts and servlets, and working with arrays and collections, handling program errors, the application interface and event handling. After that come the SQL query language and databases in Java, and finally building a complete project with an overview of JSP. The course suits beginners in programming and anyone who wants to learn Java at both the basic and the advanced level, and it needs no previous experience. Afterward you will be able to write Java programs, work with databases and build a complete project.

Expected outcomes

  • Master Java and its practical applications.
  • Create complete programs using modern programming principles.
  • Ability to work with databases using SQL.
  • Build complete software projects from start to finish.
  • Acquire skills in designing innovative software solutions.

Learner reviews

These reviews are from learners who bought the content and completed at least 50% of it — there are no reviews from anyone who hasn't gone through the material.
4.9
★★★★★
54 reviews
5★
48
4★
6
3★
0
2★
0
1★
0
  • ★★★★★MEDHAT Y.·منذ 4 شهرشاهد 51٪

    ممتاز وشرح ممتاز

تم عرض كل التقييمات (1)

Course content

1

Introduction to Java World

3 lectures
  1. Course HighlightsReviews highlights from the course: loops and their exit condition, then the idea of databases and why they beat Word and Excel, creating a connection, and running SQL commands in SQL Developer.44:11
  2. Important Introductions (1)Presents the contents of the first Java 10 book: programming basics and data types, loops and conditions, methods, then object-oriented programming, inheritance, abstract classes and interfaces, with databases left to the second book.7:57
  3. Important Introductions (2)Presents Java's strengths: the JVM, compiling code to bytecode that runs on any operating system, its large libraries for databases, files and networking, and program forms such as Servlet and JSP.10:15
2

Setting Up Oracle J Developer

2 lectures
  1. Oracle J Developer Setup (1)Explains setting up Oracle JDeveloper to write Java programs, the machine requirements of 64-bit Windows and ample RAM, and the installer steps including skipping updates until the tool runs.9:46
  2. Oracle J Developer Setup (2)Continues setting up Oracle JDeveloper and explains its project structure: project, packages and files, creating a Java class with a main method, and running the program to see the result.9:28
3

Programming Rules in Java

4 lectures
  1. Programming Basics in Java (1)Explains Java writing rules: creating a new project, declaring variables and ending each line with a semicolon, lowercase keywords, case sensitivity, with a program adding two numbers and common typing errors.14:00
  2. Programming Basics in Java (2)Explains Java data types: whole numbers such as byte, short, int and long, decimal numbers such as float and double, non-numeric types like char and boolean, and why a variable's value must match its type.6:51
  3. Programming Basics in Java (3)Explains operators in Java: the assignment operator and shortcuts like +=, comparison operators and the difference between = and ==, increment and decrement ++ and --, logical operators, and the remainder.7:47
  4. Programming Basics in Java (4)Explains input and output in Java: taking values from the user, converting text to numbers and showing the result, then comments that programmers write to clarify code.16:15
4

Oracle J Developer Skills

1 lectures
  1. Oracle J Developer SkillsExplains Oracle JDeveloper skills that speed up coding, including ready-made templates through shortcuts, creating a custom template, code formatting, automatic writing suggestions, and changing the font.11:14
5

Loops

5 lectures
  1. Loops (1)Explains loop statements in Java with the for loop to repeat a command several times, ways to write it by template, surrounding code or by hand, setting start, end and counter, and printing a message that changes each pass.9:17
  2. Loops (2)Explains the for loop with examples: printing array elements, taking numbers from the user and multiplying them, counting down instead of up, and nesting two loops to draw shapes like a rectangle.12:07
  3. Loops (3)Explains the while loop, which repeats as long as its condition is true, printing list items, building a message from successive values, with examples of factorial and step.9:23
  4. Loops (4)Applies the for loop and nested for loops, such as printing lines of stars and a multiplication table, while controlling new lines and spacing between numbers.7:37
  5. Loops (5)Explains the while and do while loops, where repetition depends on a condition rather than a fixed count, and why do while runs at least once.15:26
6

Control Statements in Program Flow

5 lectures
  1. Control Statements in Program Flow (1)Explains conditional statements in Java, if and else, to test a value and give a different result by case, using braces when there is more than one statement, with an example calculating tax by total.17:23
  2. Control Statements in Program Flow (2)Continues if and else if statements: grading scores with chained conditions, combining two conditions with and to set a range, handling out-of-range values, and a choice menu that runs an arithmetic operation.12:14
  3. Control Statements in Program Flow (3)Explains the switch statement as an alternative to if conditions, with multiple case branches and a default when no case matches, applied to a menu of choices and different arithmetic operations.13:52
  4. Control Statements in Program Flow (4)Explains the switch statement with multiple cases such as choosing a country with break, how the Java version affects it, then writing the condition in a shorter form instead of if else.10:02
  5. Control Statements in Program Flow (5)Explains the difference between break, which exits the whole loop, and continue, which skips the rest of the current iteration and keeps the loop going, using a counting example from zero.5:26
7

Functions

3 lectures
  1. Functions (1)Explains functions in Java and why they exist to avoid repeating the same code, how to define one with inputs and a return value and how to call it, testing it with several values and examples.13:52
  2. Functions (2)Explains functions in Java: defining and calling them, passing parameters and matching their types, an average calculation example, why work is placed in functions, with the what, how and why questions.22:08
  3. Functions (3)Explains that a function can return a value instead of printing it by using return and declaring a return type such as double, with an example function that calculates a percentage from total grades.15:37
8

Goal-Oriented Programming Concepts

6 lectures
  1. Goal-Oriented Programming Concepts (1)Contrasts traditional programming with Object-Oriented Programming, showing how to create a new class and call functions from another class by its name, such as converting user input to a decimal with parseDouble.14:41
  2. Goal-Oriented Programming Concepts (2)Continues object-oriented programming: creating a class and using it from another class, objects with properties such as length and width, and moving shared properties into a parent class that child classes extend.17:59
  3. Goal-Oriented Programming Concepts (3)Shows that a class is the general blueprint and each Object created from it keeps its own values, with a rectangle example using length and width and a person example with different properties.14:08
  4. Goal-Oriented Programming Concepts (4)Explains why class variables should be private, uses set and get methods to access them, and generates those methods automatically with the Generate Accessors option.12:38
  5. Goal-Oriented Programming Concepts (5)Explains Overloading, defining several methods with the same name but different numbers or types of parameters, and how the compiler picks the right one, with an example adding two or three numbers.7:14
  6. Goal-Oriented Programming Concepts (61)Explains the Constructor, a special method named after the class that runs automatically when an object is created and sets default values, and that can be defined more than once with different values.6:04
9

Inheritance Feature

2 lectures
  1. Inheritance Feature (1)Explains inheritance in object-oriented programming, how a class inherits properties from another using extends so fields like id and name are not repeated, and that every Java class inherits from a main base class.23:01
  2. Inheritance Feature (2)Explains overriding in inheritance: a method with the same name, parameters and types in parent and child classes but a different body, using a Person, Employee and Customer example, ahead of a shapes example.7:51
10

Building the Program Structure

3 lectures
  1. Building the Program Structure (1)Explains the abstract class, which gives the general shape of methods without implementing them so no object is created from it directly, extending it in another class, then the interface as a more general form.23:55
  2. Building the Program Structure (2)Explains access modifiers such as public and private: who can reach a variable inside and outside the class, and why a variable is made private and accessed through public methods.8:08
  3. Building the Program Structure (3)Explains the keywords final, static and this: final on a variable, method or class to prevent change, static for a value shared by all objects, and this to refer to the current class.4:01
11

Rules for Accessing Classes and Variables

1 lectures
  1. Rules for Accessing Classes and VariablesExplains access modifiers, namely public, private, protected and the default level, and who can reach variables and methods from inside the class, the package, or outside it.4:01
12

Handling Texts

1 lectures
  1. Working with TextsExplains working with text in Photoshop: typing and selecting text, changing size, color and baseline shift, adding effects, and converting text into an image that can no longer be edited as text.16:15
13

Data Flow

2 lectures
  1. Data Flow (1)Explains file handling in Java: pointing to a file by its path, checking whether it exists, creating a new file, and browsing the File class methods, leading into reading and writing files.14:41
  2. Data Flow (2)Explains data streams: writing user data to a file and reading it back, reading a file character by character until its end, and choosing the file through a file selection dialog.17:50
14

Documentation for Java

1 lectures
  1. Documentation for JavaExplains writing comments in code to clarify it for yourself and others, and naming rules: mandatory ones such as not starting with a digit or using a reserved word, and optional conventions.9:59
15

Array Handling

4 lectures
  1. Working with Arrays (1)Gives an overview of the second Java book: arrays, collections, error handling, Swing interfaces with layouts and events, then SQL, JDBC, a complete project, JDK 10 features and the ADF framework.5:53
  2. Working with Arrays (2)Explains arrays in Java: declaring one-dimensional and two-dimensional arrays, filling them with user input in a loop, and printing their elements in reverse order.9:03
  3. Working with Arrays (3)Explains working with arrays: built-in methods such as checking whether an array is empty and counting its elements, adding and replacing items, and a two-dimensional char array and printing it.11:47
  4. Working with Arrays (4)Explains arrays and Sets in Swift, with an example of points using x and y coordinates, showing that a Set prevents duplicate values while an array allows them.6:53
16

Working with Collections

1 lectures
  1. Working with CollectionsExplains Java collections as an advanced form of arrays: ArrayList, which needs no fixed size and accepts any data type, then other types such as Map, which stores a key and a value for each element.16:26
17

Program Errors and Handling

3 lectures
  1. Program Errors and Handling (1)Explains the three kinds of program errors: syntax errors, logic errors, and runtime errors (exceptions), then starts handling the last kind with try and catch.11:41
  2. Program Errors and Handling (2)Continues error handling: using several catch blocks for different error types, a general Exception catch when the type is unknown, and a finally block for code that must run in every case.13:22
  3. Program Errors and Handling (3)Explains error handling by throwing an Exception for an unacceptable case such as a negative subtraction result, catching it with try and catch, and adding throws to the method.10:26
18

Application Interface

3 lectures
  1. Application Interface (1)Introduces graphical user interfaces in Java with the Swing library: creating a JFrame, designing the interface by drag and drop, setting component properties, and writing simple code for a button click.12:53
  2. Application Interface (2)Continues Swing interfaces by building a calculator: adding buttons, number input fields and a result field, code for addition, subtraction and multiplication, and a button that shows one frame and hides another.14:00
  3. Application Interface (3)Presents graphical interface components such as Panel, Tab, selection lists and buttons, explains how to change their properties, and introduces the next lessons on page layout and events.15:35
19

Planning Managers

1 lectures
  1. Planning ManagersExplains Layout Managers in Java, the ready-made layouts for a frame such as Flow, Grid and Border, and how they are set in code or in the designer to control how elements are arranged.6:48
20

Event Handling

1 lectures
  1. Event HandlingExplains event handling in GUI programs: the events a component can raise beyond a click, such as mouse enter, mouse exit and focus loss, and writing code that checks a field's content when they occur.12:36
21

SQL Query Language

7 lectures
  1. SQL Query Language (1)Explains the idea of databases: data entry screens for saving, editing, deleting and searching, storing each subject in its own table, and the Oracle DBA account needed before working with SQL commands.18:28
  2. SQL Query Language (2)Explains SQL and connecting to a database through SQL Developer: unlocking the account, SQL as a set of commands rather than a general programming language, create, insert and delete commands, and the table diagram with its relations.12:18
  3. SQL Query Language (3)Explains SQL commands and how they split between table-structure commands and data commands, then applies SELECT to pick specific columns and pattern searching with LIKE.21:07
  4. SQL Query Language (4)Explains SQL group functions such as MIN and SUM, splitting results by department with GROUP BY, sorting them with ORDER BY, and filtering groups with HAVING.10:14
  5. SQL Query Language (5)Explains JOIN to link two tables on a matching department number to show department and manager names, then the Subquery to fetch a person's department colleagues without knowing the department number.18:06
  6. SQL Query Language (6)Explains SQL commands such as CREATE TABLE and DROP TABLE, then UPDATE and DELETE, stressing the importance of WHERE so that not every row in the table is affected.13:18
  7. SQL Query Language (7)Explains creating a database user with a password and giving it specific privileges with the GRANT command, either through commands or through the graphical interface.11:35
22

Databases in Java

3 lectures
  1. Database Fundamentals in Java (1)Explains JDBC for connecting Java to a database: designing a form with panels and buttons, setting up the connection, writing a prepared statement, and showing a message when an error occurs.28:42
  2. Database Fundamentals in Java (2)Explains running insert, delete and update on a database from Java: reusing the same connection code while changing the SQL statement and its question-mark placeholders, and clearing the fields after the operation.9:18
  3. Database Fundamentals in Java (3)Continues JDBC to read data from the database, fetching a column by its number or name, displaying name, phone and email, then exiting the program cleanly.12:46
23

Building a Complete Project

3 lectures
  1. Building a Complete Project (1)Starts building a complete database project: a training center with courses, students and instructors, designing the screens and buttons, and outlining the project steps from testing to deployment.17:15
  2. Building a Complete Project (2)Continues the complete project: giving screen components clear names, creating the database tables for courses and students, and preparing the connection to them before writing the code.9:11
  3. Building a Complete Project (3)Continues a student data project with a table and fields for ID and name, building a search by ID that shows the name in a text field, or a message when nothing is found.38:30
24

New Features in Java 10

2 lectures
  1. Advantages of the New Release (1)Explains new Java version features: how the JDK evolves while staying compatible with old programs, checking the Java version in a project, and examples of features added in versions 7, 8 and later.11:29
  2. Advantages of the New Release (2)Continues new version features: installing JDK 10 and setting its path in the IDE, creating lists and sets in shorter ways, and automatic type inference without writing the type.9:45
25

Web Programming Concepts

3 lectures
  1. Web Programming Concepts (1)Explains web programming concepts: the difference between a program installed on every device and a single copy on a server, why HTML page design alone cannot save data, and the need for a framework like ADF.22:04
  2. Web Programming Concepts (2)Starts web programming in practice: building a simple page with a table, username and password fields and a button, running it, and noting that designing it by hand in code is tiring.18:03
  3. Web Programming Concepts (3)Explains putting formatting properties in a separate file and linking it to page elements so it can be reused, instead of setting each element by hand, and previews programming the pages next.15:36
26

Servlet

2 lectures
  1. Servlet (1)Explains servlets in Java: creating a new web project, linking an HTML login page to the servlet, then programming it to receive the data the user typed in the form.8:12
  2. Servlet (2)Continues servlets: reading the form values the user sent, checking the username and password in code, and reusing the database class to work with the table.7:29
27

Overview of JSP

1 lectures
  1. Overview of JSPGives an overview of JSP: pages that mix Java code inside HTML tags, how to open and close Java code in a page, reading login form parameters, and understanding code errors.22:53
28

Introduction to ADF

1 lectures
  1. Introduction to ADFIntroduces ADF, an application development framework that builds pages by drag and drop with almost no coding, such as tables, search, filtering and a calendar, along with the MVC idea.13:48
29

Add-ons

1 attachments
  1. Download Attachments from Here

Instructor

Eng. Azab Mohamed Azab

Eng. Azab Mohamed Azab

Lecturer at the Arab Academy for Science, Technology and Maritime Transport, and the Egyptian Ministry of Interior, specializing in technology and information.
68.8K views28 courses

This course is part of the diploma

Related courses