Write a JAVA statement to create an object x1(11th) and class name ICSE
Please answer it very fast
Answers
Answered by
0
Here is an example. :)
class BlockDemo {
public static void main(String[] args) {
boolean condition = true;
if (condition) { // begin block 1
System.out.println("Condition is true.");
} // end block one
else { // begin block 2
System.out.println("Condition is false.");
} // end block 2
}
}
Let me know if im wrong.
HOPE THIS HELPED YOU :)
I tried my best with it
Similar questions