0% found this document useful (0 votes)
6 views17 pages

Java Output - Printout

The document outlines various programming tasks and their corresponding outputs, including welcome messages, calculators, voter eligibility checks, and array manipulations in Java. It also covers concepts such as loops, constructors, exception handling, assertions, and threads. Each section indicates a program structure but lacks detailed implementation or output examples.

Uploaded by

ARUMUGAM PONNIAH
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views17 pages

Java Output - Printout

The document outlines various programming tasks and their corresponding outputs, including welcome messages, calculators, voter eligibility checks, and array manipulations in Java. It also covers concepts such as loops, constructors, exception handling, assertions, and threads. Each section indicates a program structure but lacks detailed implementation or output examples.

Uploaded by

ARUMUGAM PONNIAH
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PRINTING WELCOME MESSAGE

PROGRAM:

OUTPUT:
PERCENTAGE CALCULATOR
PROGRAM:

OUTPUT:
SPEED CALCULATOR
PROGRAM:

OUTPUT:
CHECKING VOTER’S ELIGIBILITY
PROGRAM:

OUTPUT:
FINDING GREATEST AMONG THREE NUMBERS
PROGRAM:

OUTPUT:
DISPLAY TABLES USING A WHILE LOOP
PROGRAM:

OUTPUT:
SQUARE OF ‘n’ NUMBERS – USING FOR LOOP
PROGRAM:

OUTPUT:
FINDING SUM OF THE FIRST 10 NATURAL
NUMBERS
PROGRAM:

OUTPUT:
WHILE AND DO - WHILE STATEMENTS
PROGRAM:

OUTPUT:
DEMONSTRATION OF SWITCH STATEMENT
PROGRAM:

OUTPUT:
ARRAYS IN JAVA
PROGRAM:
public class AlternateArray {
public static void main (String[ ] args) {
int [] numbers = {10, 20, 14, 12, 1, 8, 40, 90, 100, 7};
for (int i = 0; i < [Link]; i=i+2)
[Link](numbers[i]*numbers[i]);
}
}

OUTPUT:
SORTING ARRAY IN JAVA
PROGRAM:

OUTPUT:
CONSTRUCTORS IN JAVA
PROGRAM:

OUTPUT:
EXCEPTION HANDLING IN JAVA
PROGRAM:

OUTPUT:
ASSERTIONS IN JAVA
PROGRAM:

OUTPUT:
THREADS IN JAVA
PROGRAM:
a.

b.

OUTPUT:
a.

b.
WRAPPER CLASS IN JAVA
PROGRAM:

OUTPUT:

You might also like