
Install MySQL by downloading the Windows installer, configure the root password and a user for localhost, start the MySQL server, set path variables, and verify databases with show databases.
Learn about basic data types in Java such as byte, short, int, long, float, double, char, and boolean, and how memory usage and precision guide type choice.
Write to and read from a text file using buffer writer and buffer reader, via a system line separator, specifying the file, reading lines, and closing streams.
Explore inheritance in Java by examining how a subclass derives properties from a superclass, using protected access, the super keyword, and method overriding to model an is-a relationship.
Explore composition in Java by modeling has-a relationships through class fields, selecting composition over inheritance; demonstrate with a car having tires, an engine, and doors.
Learn JDBC basics as the Java database connectivity API connects applications to databases, uses the driver manager to choose the right JDBC driver, and supports Oracle and other databases.
Hi!
This course is designed for students or anyone else who want to start Java as a programming language. We will consider several topics ranging from installing Java itself to MySQL database operations. The first chapter will be about the basics: loops, decision making, variables and so on. The next chapters will be about exception handling as well as how to deal with input/output operations. Of course, we will consider the object orinted principles: inheritance, polymorphism and encapsulation as well. The last chapter will be about how to connect to a MySQL database and how to make the basic database-related operations: inserting new items, removing items or updating items in the database table.
Hope you will like it!