What are statements in JAVA ?

Answer Posted / almeja del río

* A Java statement is the smallest unit that is a
complete instruction.
* Statements must end with a semi-colon.
* Statements generally contain expressions (expressions
have a value)
* One of the simplest is the Assignment Statement

<variable> = <expression>;

For Example:

int height;
height = 34;

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a statement?

757


What are the jdbc api components?

877


How can we retrieve the file in the oracle database?

739


What is device controller?

708


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

830


Is jdbc open source?

640


What is jdbc and its advantages?

712


What is JDBC API and when do we use it?

762


What is sqlwarning?

761


Why do we use jdbc statements?

705


Is jdbc faster than odbc?

666


What are the three basic components of the odbc architecture?

674


What is a jdbc connection string?

647


explain about special characters?

737


List the common jdbc exceptions ?

779