Top 6 Useful Keywords in Java Programming (part 2)

9xcode.com

class

A keyword that declares a class. A class is a blueprint from which objects are created. Classes contain fields (variables) and methods (functions) that define the state and behavior of objects.

continue

A statement that continues the loop. It continues the current flow of the program and skips the remaining code on explicit conditions.

default

A keyword that specifies a default block of code in a switch statement, or a default value for an annotation element.

do

Do keyword is starts a do-while loop that executes a block of code at least once, and then repeats as long as a condition is true.

double

double is primitive data type that can store 64-bit floating-point numbers, from 4.9e-324 to 1.8e+308.

else

A keyword that indicates an alternative branch in an if statement that executes a block of code if the condition is false.

Click Above images to View More Stories or swipe up.

Important Keywords In Java (part 1)

Top 9 Programming Languages 

Join WhatsApp Group Swipe up and get Freebies