
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.
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.
Explore object oriented programming by defining classes as templates, creating objects, and using attributes and methods to model real objects with distinct properties.
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.
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.
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.
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.
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.