answersLogoWhite

0

What are separator in java?

Updated: 11/1/2022
User Avatar

Wiki User

11y ago

Best Answer

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

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Separators in java are part of syntax,missing of these separators causes syntax errors or misinterpretation of java program.

()-Encloses arguments in method definitions and calling; adjusts precedence in arithmetic expressions; surrounds cast types and delimits test expressions in flow control statements.

{}-used to represent the block of codes and static initialization.

[]-size of arrays can be inserted in-between the brackets during initialization.

e.g:- int a[]=new a[10];

; -indicate the end of statement

. - used to access the methods of particular class through objects.

: -used after the loop labels.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are separator in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is separator?

What is the function of separator


What is the difference between water separator and moisture separator?

water separator removes water (liquid) but moisture separator removes water vapor


Is a washing machine a separator?

yes a washing machine is a separator


How do you replace an oil air separator on a 2000 BMW 740il?

Do you mean oil separator or oil separator valve? BUELLGUY


When was GEA Westfalia Separator created?

GEA Westfalia Separator was created in 1893-09.


What is Difference between static and dynamic separator?

Static separator have no rotary parts to do the separation. The separation is done with help of air, which carries and introduces the material inside the separator. Static separator separates the small particles but it does not pick them up. Dynamic separator have rotary parts to do the separation. They pick up small and big particles, generating their own air by ventilators which are part of the separator.The dispersion separator (also called the mechanical air separator) utilizes a distribution plate to disperse the feed material in to the separating space. The majority of the mechanical air separators generate the circulating air inside the separator itself; therefore they are also called circulating air separator.


What other way can you separate salt from water apart from evaporate?

a salt separator a salt separator


Path separator in windows?

In Windows, the path separator is the slash ( \ ) C:\Windows\Progra~1\


Bilge oil water separator circuit diagram?

circuit of bilge oil water separator


What is the purpose of a separator?

A gravity separator is a kitchen tool which is designed to separate the fat from pan drippings leaving the flavorful juices behind. Some people may call it fat separator.


How much is delaval separator worth?

The Delaval cream separator varies depending on the condition of the item. You can find this type of separator online for about $40 to about $300 depending on condition and size or model.


What is function of oil separator in diesel engine vehicle?

oil separator working is separat oil & gas