Java

If, Else and Else If Statements

Submitted by GeePee on
Introduction: Hello. In this tutorial you will learn about the if, else and else if statements. When are these statements used? The if statement is used to check if certain conditions are true. For example, just like we would say in English, if the time of day is noon we should eat lunch, else we shouldn't. So, what is else if? Since the if statement is used to check if certain conditions are true and else is for the opposite, what else do we need? To be able to check multiple times if certain conditions are true, but not the same.

Variables

Submitted by GeePee on
Introduction: Hello! This tutorial will teach you about variables. What are variables? Variables are pieces of data which are used to store more data. Every variable has a type, a name and a value; if the variable does not have a value then its value is 'null' or 'nothing'. What types can variables be? There are a few different types of variable, the most common ones being: - String - Double - Int (Integer) - Long - Boolean A string is a piece of text containing letters, numbers and symbols.

Methods and Constructors

Submitted by GeePee on
Introduction: Welcome, this tutorial will teach you about Constructors and Methods in Java. What is a 'Method'? A method is a block of script which performs for a purpose. The use of methods is to avoid re-writing the same scripts over and over again because instead, you are able to use the same method every time you need to run that particular script. Methods normally return a value once ran but can run without returning anything. Methods can be custom created by the programmer or they can be built in to Java...

Syntax

Submitted by GeePee on
Introduction: Welcome to `Basic Syntax` for Java beginners. This tutorial will teach you the correct format your code should be in as well as what some syntax related errors mean and how they may occur. What is Syntax: Syntax is the arrangement or format of your code. The way your code is laid out will not generally affect the performance of your program.

Getting Started

Submitted by GeePee on
Introduction: This tutorial will help you get started with developing your own Java applications from scratch. Requirements: For developing Java applications you will need either an IDE (Integrated Development Environment) such as Eclipse which has it's own compiler built in which makes it easier for you to debug your program. Or, you can decide to use a Text Editor such as; Notepad, Notepad++ or Sublime then you will have to compile your .java files each time you would like to test your program.

Java Tutorial

Submitted by GeePee on
This page will (in the near future) hold a list of great, in-depth tutorials teaching you the ins and outs of programming in Java. Including tutorials for beginners such as; - Syntax - Namespaces and for advanced programmers such as; - Networking - Threading As you begin to learn the basics of Java through these dedicated tutorials you will become more aware of how software is 'programmed well', how to save space and the importance or certain conventions within Java. So go ahead; Choose you're first tutorial from the list below!