Introduction to Java - A Brief Overview
Java is a broadly useful programming language with various components that make the language appropriate for use on the World Wide Web. There are more than nine million Java programmers and more than three billion cellphones run it. More ...
Java Byte, Short, Long, and Double Variable Types
In Java, as in other programming languages, information that can be changed as the program runs is stored in variables. A primitive variable type is predefined by the language and is named by a reserved keyword. There are eight primitive data types supported by the Java programming language. More ...
A Comparison Between The Java IDEs: Netbeans and Eclipse
Both NetBeans and Eclipse are open source and cross platform Java IDEs. Eclipse is supported by IBM, whereas NetBeans is supported by Oracle. Each IDE provides several innovative features and tools to simplify and speedup Java application development. More ...
How to Install JDK 8 on Windows and Get Started with Java Programming
Java is one of the most popular programming languages in use, particularly for client-server web applications, with nine million developers, and more than three billion mobile phones run Java. All you need to learn to program Java is the free JDK (Java Development Kit). More ...
How to Use Boolean Expressions in Java
A Java boolean can have one of two values: true or false. In some languages, such as C or C++, integer values can be treated as a boolean, with 0 equal to false and any other value equal to true. Not so in Java. In Java, you can't convert between an integer type and a boolean type. More ...
Your First Java Menu
Many times the user of a sotware application performs functions by selecting items from a menu. In this article I give you an overview of the Java event model and how to create a Java program with a simple menu. More ...
Java Keywords
The Java programming language has 50 keywords. Each keyword has a specific meaning in the language. You can't use a keyword for anything other than its pre-assigned meaning. The following table lists Java's keywords. More ...
Passing Arguments to a Java Application
In this article I use a very short example program to demonstrate several basic principles of Java programming; how to pass arguments to a Java application, how to convert a string to an int, and how to use an if structure. More ...
Concatenate Strings in a Java Program
Java uses the concatenate (+) operator to paste two or more strings together. This article provides Java code to concatenate the strings "first text " and "second text". More ...
How to Create the Most Basic Java Window
A lot of Java programming involves creating command line applications. But I like to get to opening a graphic window as quickly as possible. This is no problem because it's actually very easy to create a basic JFrame window. More ...
Display Quotation Mark in Text in a Java Program
To define a String in Java, you enclosed it within quotation marks. These quotation marks are not shown when you display the string. More ...
Java while Loop
A loop is a block of statements that are repeated. There are three main loop control structures available in Java: for, do and while. This article provides example of while loop code. More ...
Java do-while Loop
A loop is a block of statements that are repeated. There are three main loop control structures available in Java: for, do and while. This article provides example of while loop code. More ...
Java Operators
Operators are special characters used to manipulate operands. This artice explains arithmetic, relational, bitwise, logical, and assignment Operators, as well the conditional Operator and instanceof Operator. More ...
