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

Give an example for getXXX method?

640


Explain the JDBC Architecture?

676


What is jdbc connection?

724


Does jdbc use odbc?

583


What are the main steps in java to make JDBC connectivity?

655






What is jdbc oracle thin?

559


How to check jdbc connection in linux?

597


How can I get information about foreign keys used in a table?

625


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

625


How to update a resultset programmatically?

680


How many types of statements are there in jdbc?

567


What is jndi lookup?

611


What are the different types of interfaces in the api component?

619


How many types of JDBC Drivers are present and what are they?

591


What are different types of JDBC Drivers?

600