Java Syntax and Java Sample Program, Java Basic Syntax and Java Program Structure. Create Java Project, Java Package, Java Class, and write a sample Java Program with Variables declarations, Condition blocks, and Loop Blocks.
Java Syntax Rules
1) Java is a case sensitive language
2) First Letter of Class name should be in upper case
3) Method names should start with lower case
4) Java program file name should exactly match with class name.
5) Every Statement/Step should end with semi colon symbol
6) Java program execution starts from main method, which is mandatory in every Java Program
7) Code blocks (Condition blocks, Loop blocks, Method blocks...) enclosed with {}
8) Java supports explicit declaration of data types
9) Java supports explicit declaration variables
10) Variable and Constant names must be unique in the scope of declaration.
On this page of the site you can watch the video online Java Syntax with a duration of hours minute second in good quality, which was uploaded by the user G C Reddy Software Testing 26 October 2016, share the link with friends and acquaintances, this video has already been watched 2,354 times on youtube and it was liked by 12 viewers. Enjoy your viewing!