Tuan Development Notes Sharing and learning

Java for loop 0

Java for loop

Usage, syntax and example Java for loop Usage Java for loop is used when you want to repeat an action for a specific times. Syntax for (START; END; INCREMENT) { // Do your code here....

Java if-else statement example 0

Java if-else statement example

Java if-else statement example If-else statement is one of the basics control flow statement. Here is explanation and Java if-else statement example. If statement Usage When you want your program to execute a certain...

java 0

Java primitive data types

Java primitive data types A primitive type is predefined by the language and is named by a reserved keyword. There are 8 Java primitive data types How to define Java primitive data types? Basically,...