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 are types of jdbc drivers?

778


What is jdbc and its types?

711


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

728


What is jdbc driver for sql server?

739


What is odbc and jdbc drivers?

684


What is jdbc resultsetmetadata interface?

745


How java can be connected to a database?

818


How does jdbc work?

691


What does the connection object represents?

788


How to connect multiple database in jdbc?

754


What does setautocommit do?

764


How to check jdbc driver version in websphere?

799


What are the different types of resultset?

754


Which is better odbc or jdbc?

686


Does sql allow null values ?

765