java

Using switch Structures

Submitted by GeePee on
The following is a Java Program using switch structures. In Java, switch, case, break and default are reserved words. In a switch structure, the expression is evaluated first. The value of expression is then used to perform the actions specified in the statements that follow the reserved word case.

Computerized Voting System in Java with MS Access and Jasper Reports

Submitted by Buragwis455x on
This System composed of 4 modules 1. SERVER 2. CLIENT 3. VERIFIER 4. LIVE VIEW OF SCORE It is uses individual computer for SERVER, VERIFIER,LIVE VIEW OF SCORE and several computers for CLIENT.. SERVER - all 3 modules are connected in this server the client can be installed in several computers and once the students verified they can set in the client computers and make their selection of

How to use Counter Controlled While Loop

Submitted by GeePee on
The following Java program uses Counter Controlled While Loops. Suppose you know exactly how many times certain statements need to be executed. In such cases, while loops assumes the form of a counter-controlled while loops. Suppose that a set of statements need to be executed N times. You can set up a counter to track how many items have been read. .

How to Display Output using Java

Submitted by GeePee on
In this tutorial, you will learn the basic elements and concepts of Java Programming language to create a Java Program. You will know the effect of an output statement in this program. I will be using the JCreator IDE in developing the program. To start in this tutorial, first open the JCreator IDE, click new and paste the following code.

Writing Output to a Text File in Java

Submitted by GeePee on
Many times it is important to write output to a file to be saved. This is commonplace in just about every kind of Java application - from business to games. It allows the users information/status/progress to be saved or recorded for future reference. In order for this to work, the simplest solution is to create a file in the same folder as the Java program. For this example, we are going to create an output file called output.txt.