
Java syntax is a lot like C++. For those of you who know C, a lot of Java code may look familiar. For those of you who know C++, most of the Java code should look familiar. In this section we will look at the basics of the Java language.
Here is a list of keywords for the Java language:
abstract continue for null synchronized
boolean default if package this
break do implements private threadsafe
byte double import protected throw
else instanceof public throws
case extends int return transient
catch false interface short true
char final long static try
class finally native super void
volatile float new switch while
![]() |