Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the two parts of a conditional statement?



What are the two parts of a conditional statement?..

Answer / Meghesh Kumar

The two essential components of a conditional statement in Java are the condition and the actions to perform if the condition is true (then-branch) or false (else-branch). The condition is tested using logical operators, such as ==, <, >, etc. If the condition evaluates to true, the then-branch is executed; otherwise, the else-branch is executed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain Linked HashSet

1 Answers  


Which is the best approach for creating thread ?

1 Answers  


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1 Answers   SAP Labs,


Explain the use of sublass in a java program?

1 Answers  


How do you declare a string variable?

1 Answers  


Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.

1 Answers  


What modifiers are used with a top level class?

3 Answers  


What ide should I use for java?

1 Answers  


Is void a data type?

1 Answers  


What is the generic class?

1 Answers  


What are the features in java?

1 Answers  


How do I print a “?

1 Answers  


Categories