You are on page 1of 9

A.

Program Coding and Debugging:

Analyze and encode each Java Program. (Refer to highlighted items).


Compile your source code and screen output using MS Word.
Place your answer after each item. Refer to reference below.

Step 1. Click the link below.


https://www.programiz.com/java-programming/examples

Step 2. Click the Tab Tutorials. Select View All Tutorials.

1. Java Introduction

o 1.1 Java Hello World


o 1.2 Java JVM, JRE and JDK
o 1.3 Java Variables and Literals
o 1.4 Java Data Types
o 1.5 Java Operators

1.5.1. Java Arithmetic Operators

1.5.2. Java Assignment Operators


1.5.3. Increment and Decrement Operators
1.5.4. Java instanceof Operator

1.5.5. Java Ternary Operator


o 1.6 Java Input and Output

1.6.1. Java Output

1.6.2. print() and println()


1.6.3. Printing Variables and Literals

1.6.4. Print Concatenated Strings


1.6.5. Get Integer Input From the User

1.6.6. Get float, double and String Input


o 1.7 Java Expressions & Blocks

1.7.1. Java Blocks


o 1.8 Java Comment

1.8.1. Single-line Comment

1.8.2. Multi-line Comment


2. Java Flow Control

o 2.1 Java if...else


o 2.2 Java switch Statement
o 2.3 Java for Loop
o 2.4 Java for-each Loop
o 2.5 Java while Loop
o 2.6 Java break Statement
o 2.7 Java continue Statement

Reference:
https://www.programiz.com/java-programming/examples

You might also like