Showing posts with label Java Programming. Show all posts
Showing posts with label Java Programming. Show all posts

Java Programming Tutorial - 1 - Installing the JDK

How to download and install the Java Development Kit (JDK)


Java Programming Tutorial - 2 - How to Run a Java Program

This is a video tutorial on  how to run a java program.

Java Programming Tutorial - 3 - Downloading Eclipse

How to download and use Eclipse for Java programming.


Java Programming Tutorial - 4 - A Simple Program Hello YouTube


How to write a simple java program.


Java Programming Tutorial - 5 - Variables

Java tutorial on how to use the variables.





Which names are allowed

  • a sequence of Unicode letters and digits of unlimited length;
  • can begin with a letter, the dollar sign "$", or the underscore character "_";
  • whitespaces in name is not permitted;
  • must not be a keyword or reserved word.

Java Programming Tutorial - 6 - Capture User Input

A simple java program on how to get user's input.


Java Programming Tutorial - 7 - A Simple Program Compute Two Numbers

A simple java program tutorial that shows on how to compute the numbers.

Java Programming Tutorial - 8 - Math Operators

A simple code in java programming on how to use the math operators.

Java Programming Tutorial - 9 - Increment Operators

How to use increment and assignment operators in java programming.

Java Programming Tutorial - 10 - If then Else Statement

Video tutorial in java programming on how to use the If then Else statement.

Java Programming Tutorial - 11 - Logical Operators

A simple code that shows on how to use logical operators in java programming.

Java Programming Tutorial - 13 - While Loop Statement

How to use the while loop statemnet in java programming.

Java Programming Tutorial - 12 - Switch Statement

The Switch Statement on Java programming.

Java Programming Tutorial - 13 - While Loop

Video tutorial on java programming on how to use the While Loop statement.

Java Programming Tutorial - 14 - Using Multiple Classes

A simple code that shows on how to use multiple classes in a java program.

Java Programming Tutorial - 15 - Working with Parameters

Video tutorial on how to use methods in an outside class with a single parameter.

Java Programming Tutorial - 16 - Multiple Methods and Instances

Java programming on how to use multiple methods and instances.

Java Programming Tutorial - 17 - Constructors

A constructor is a method that creates and returns an instance (object) of the class.



// Constructors Sample Code
import java.awt.*;

class Circle {
Color c;
int r;

public Circle() {
c=Color.blue;
r=25;
}

public static void main(String[] args) {
Circle circ = new Circle();
}

}

Java Programming Tutorial - 18 - Nested if Statements

Java programming tutorial on how to use the Nested If Statement.

Java Programming Tutorial - 19 - else if Statement

Programming tutorial in java on how to use the IF then Else statement.