what is a compound statement? Give an example (with reference to java)
Home
/
Computer Science
/
what is a compound statement? Give an example (with reference to java)
what is a compound statement? Give an example (with reference to java)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
the no. of statement written inside curly braces{ } , to performed desired task is called compound statement.
while(condition){
// all the statement or bunch of code written here to performed desired task....is called COMPOUND STATEMENT.
}