answersLogoWhite

0

Every complete statement ends with a?

Updated: 8/11/2023
User Avatar

Wiki User

βˆ™ 10y ago

Best Answer

Any teacher will expect you to answer by saying a semicolon (;), but this is not strictly true. First of all, the definition of a "line of code" varies from teacher to teacher and textbook to textbook. Second, even the Java Language Specification lists several types of Java statements which do not need to end in a semicolon.

In general, a complete Java statement will end in either of semicolon or a closing block brace.

User Avatar

Wiki User

βˆ™ 14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 10y ago

Every statement in java ends with a semi-colon ";"\The same is true with c and C++ however there are some things that do not require a ";" a "for" and "while" loop for example do not require it.

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 14y ago

A semicolon ";" will end a Java statement

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 15y ago

semicolon;

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
βˆ™ 3y ago

ddd

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Every complete statement ends with a?
Write your answer...
Submit
Still have questions?
magnify glass
imp