What are separators in java, JAVA Programming

Assignment Help:

What are separators in java?

Separators help elaborates the structure of a program. The separators used within HelloWorld are parentheses, ( ), braces, { }, the period, ., and the semicolon, ;. The table lists the six Java separators (nine if you count closing and opening separators as two).

Separator Purpose

( )

Encloses arguments in methods definitions and calling; adjusts precedence in arithmetic expressions; surrounds cast kinds and delimits test expressions in flow control statements

{ }

describe blocks of code and automatically initializes arrays

[ ]

declares array kinds and dereferences array values

;

terminates statements

,

separates successive identifiers within variable declarations; chains statements within the test, expression of a for loop

.

Selects a field or methods from an object; separates package names from sub-package and class names

:

Used after loop labels

 


Related Discussions:- What are separators in java

How dbms is better to use than flat-file database, How can you justify that...

How can you justify that a DBMS is better to use than Flat-file database? A DBMS takes care of the storage, retrieval, and management of large data sets on a Database. It give

What is runnable jar archives, What is Runnable JAR archives You can ru...

What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f

What are the basic components of jsp?, There are two different types of dat...

There are two different types of data in a JSP page. 1. Static part which occurs copied directly to the response by the JSP Engine. 2. Dynamic part, which have anything that

Explain term literals in java, Explain term Literals in java? Literals ...

Explain term Literals in java? Literals are pieces of Java source code which mean exactly what they say. For example "Hello World!" is a String literal and its meaning is the w

JAVA Programming, Im not in the line of computer science.But i would like t...

Im not in the line of computer science.But i would like to have some knowledge about the computer language "JAVA".I aldredy learns the computer languages "C,C++".So kindly help me

Write code in javascript language to show the odd numbers, Write code in Ja...

Write code in JavaScript language to show the odd numbers among 20 to 100 using FOR statement. Note: No requirement to write whole HTML program. Just JavaScript code of need p

What are the different types of bean injections, Two types of bean injectio...

Two types of bean injections are there:- 1. By setter 2. By constructor

Android App Clone, Hello, My friend Roshan from India told me that you pro...

Hello, My friend Roshan from India told me that you provide a high quality programming service which is why I''m here. I would like you to make a clone of an android app the app

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd