Answer:
It's a compact way of doing an if-else statement.
General Format is
<<em>condition</em>> ? <if condition is true> : <else>;
Example:
I could rewrite:
if(a==1) temp = 1;
else temp = 999;
as
temp = (a==1) ? 1 : 999;
Well thats false. They are only notes, not extra details.
Answer is Xero. All the other Languages are Popular and Widely Used.
Thank You!
Answer:
public static void printDottedLine(){
System.out.print(".....\n");
}
Explanation:
This method returns nothing so its return type is void
It also accepts no parameters so the argument list is empty
When called it executes the System.out.print(".....\n"); which prints out 5 dots
See a complete program below:
public class TestClock {
public static void main(String[] args) {
printDottedLine();
}
public static void printDottedLine(){
System.out.print(".....\n");
}
}
Answer:@the bottom slide
Explanation:wats ya email i
will help u