Menu
Java Programming

Display a Backslash in Text in a Java Program
Within a string there may be special characters that are used to produce things like new lines, tabs, backspaces, and carriage returns. A special character is prefixed by a backslash. 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 ...

Java if Comparison Statement
A computer program is a list of instructions for the computer to follow. Some instructions tell the computer to test a variable and to follow a group of instructions based on the result of that test. The most basic conditional test is the if statement. 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 ...

The Sun One Studio Java IDE
You can develop Java applications by typing code into Windows Notepad and executing them from a DOS prompt. But sooner or later you will want to become a more productive programmer, and that requires use of an Integrated Development Environment (IDE). 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 ...

Difference Between JSF, Servlet and JSP
This article provides a brief Overview of JavaServer Faces (JSF), Java ServerPages (JSP), and Java Servlet. 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 ...

Java if else Control Statement
A computer program is a list of instructions for the computer to follow. The if else statement tells the computer to run on set of instructions based on one result of a test, and a different set of instructions on a different result of the test. 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 ...

Java for Loop
A loop is a block of statements that are repeated. A loop may be repeated a fixed number of times, repeat until some condition is met, or can loop indefinitely while the program is running. There are three main loop control structures available in Java: for, do and while. More ...

Display a Line Break in Text in a Java Program
In computer programming, a collection of letters that make a phrase, sentence, or paragraph, is called a string. Within a string there may be special characters that are used to produce things like tabs, backspaces, and carriage returns. A line break is created using the newline special character. 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 ...

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 ...


Learn more at amazon.com

Custom Search