answersLogoWhite

0


Best Answer

Each statement in Java ends with a semicolon, for example:

int a;

a = 5;

int b = 10;

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are java program statements terminated?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In c plus plus class is terminated by semicolon but in java it is not terminated?

True.


What do you mean by statements in C program?

A statement in C is an expression terminated with a semi-colon. That is, a semi-colon turns an expression into a statement.


What is Logic error in java programming?

Logical errors are grammatical errors or mistakes made by a programmer in java, it may not affect the program design but it can change the context of the statements.


Explain all the control statements in java?

The if and switch statements are commonly referred to as decision statements. When we use decision statements in our program, we're asking the program to evaluate a given expression to determine which course of action to take. It decides the control flow of the program.


How can one assign a list of integers in Java?

Put statements at the start of ones code will allow one to have a list of integers in their Java program. If one does this then they will successfully have integers in their code.


How do you run a java program which has import javalang commands?

Just like any other java program. Actually speaking importing the java.lang package is not required. But, importing it doesnt make any difference. The program will work just fine with or without those statements


How do you terminate statements in C?

All statements must be terminated with a semi-colon in C.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


What is the pane in which the Java programming statements are located called?

The pane in which the Java programming statements are located is called


What are the three looping statements in java PL?

There are 4 different looping statements in Java. They are:While loopDo-While loopFor loopFor Each loop


What is java program on computers?

#!/usr/bin/perl print 'java program';


What is java virtucal mechine?

That refers to the program that runs the compiled Java program.