answersLogoWhite

0

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

15y ago

What else can I help you with?

Related Questions

What type of sentence is a statement and uses a period?

A declarative sentence makes a statement and uses a period.


What is the difference between a statement and a clause in SQL?

An SQL statement is a complete set of clauses which returns a value and ends with a semicolon(;) A statement is made up of several clauses Ex: select * from person where f_name='me'; In this ex ' select * from person where f_name='me';' is the statement and select*, from person, where f_name= are the clauses


What is sentence statement?

is something that ends with a period.


Is a period used at the end of a declarative sentence?

YES! It is true a declarative sentence ends with a period!


What kind of sentence ends in a period?

A declarative sentence, which makes a statement, ends in a period.


What do you call a statement that ends in a question mark?

A statement that ends in a question mark is called a rhetorical question. It is a figure of speech where a question is asked not to elicit an answer but to make a point or create emphasis.


What punctuation mark ends a statement or a command?

A period (.) typically ends a statement, while a period or an exclamation mark (!) may end a command, depending on the tone and context.


What is a form description?

The form description starts with a Begin statement and ends with an End statement when writing HTML.


What is descriptive form?

The form description starts with a Begin statement and ends with an End statement when writing HTML.


Does a statement have to express a complete thought?

No


When is speculation complete?

When its ends have been met.


How do you complete The Sims?

The Sims is an on going game. It never ends. You don't complete it.