What is the statements?



What is the statements?..

Answer / Preeti Gupta

"In Java, a statement is a unit of code that performs an action, such as declaring a variable, assigning a value to a variable, making a decision (if/else), looping through code (for, while, do-while), or calling a method. A semicolon (;) marks the end of a statement in Java."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How much is a java license?

1 Answers  


difference between String a; and String a=new String();? y do v need to assign memory to the variable?

2 Answers  


What is difference between string and new string?

1 Answers  


why do we use interface in java?

5 Answers  


Does java return by reference?

1 Answers  


How do you detect memory leaks?

1 Answers  


What is oop in java?

1 Answers  


What is the definition of tree ?

1 Answers   Amazon,


What is compareto () in java?

1 Answers  


What is the range of the short type?

1 Answers  


Does Java support multiple Inheritance?

12 Answers  


How can you write a loop indefinitely in java programming?

1 Answers  


Categories