What are statements in JAVA ?



What are statements in JAVA ?..

Answer / 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

More JDBC Interview Questions

what is metadata and it's use?

3 Answers  


Is there another way of dealing with the result set that could execute faster?

0 Answers  


What are the different types of 2 tier and 3 tier architecture ?

2 Answers   Honeywell,


What is the use of statement in jdbc?

0 Answers  


How we can you use preparedstatement.

0 Answers  






What is sqlwarning?

0 Answers  


How many types of JDBC drivers are there and what are they?

2 Answers   TCS,


How do you insert images into database using jdbc?

0 Answers  


If you are truncated using JDBC, how can you that how much data is truncated?

0 Answers  


write down exceptions those appear in java programs when u write JDBC Programs?

2 Answers  


What are the main components of JDBC ?

0 Answers  


What does adapter class provide?

0 Answers  


Categories