In the first part of this Java Tutorial you will learn:
How to install the JDK and Eclipse; How to write your first Java program; Import class libraries; Conditional statements; Looping; Methods; Fields; Exceptions; Classes and OOP.
1: Installing the JDK and Eclipse
In this tutorial you will learn how to install Java and Eclipse, how set up code completion and how to install java libraries.
2: Java Programming in 30 minutes (quick tutorial)
In this Java Tutorial you will learn all of the core knowledge needed to write Java code in 30 minutes. Topics cover: primitive data types, comments, class, import, Scanner, final, Strings, static, private, protected, public, constructors, math, hasNextLine, nextLine, getters, setters, method overloading, Random, casting, toString, conversion from Strings to primitives, converting from primitives to Strings, if, else, else if, print, println, printf, logical operators, comparison operators, ternary operator, switch, for, while, break, continue, do while, polymorphism, arrays, for each, multidimensional arrays and more.
3: How to start writing Java programs
4: Import, user input, catch errors, math functions
5: Conditional Statements
If statement relational operators, logical operators, ternary operator and the switch statement.
While, do while and for loops.
7: Methods and fields
How class variables differ from local variables and various examples of methods.
8: Exception handling
Java Exceptions. The difference between run time and checked exceptions. How to use try, catch and finally and the most common errors you will come across.
9: Classes and OOP
How to create classes in Java. Java fields (class variables) and methods (functions). Encapsulation. Overload methods. Constructors.
Instructor: Derek Banas