interface abc
{
int a=10;
}
public class SemiColon implements abc{
public static void main(String [] args ){
if (System.out.printf("Hello World", null).toString().length() > 20){ }
//Example of ternary operator
int a=2;
int b=3;
int c=4;
System.out.println((a>b?a:b)>c?(a>b?a:b):c);
}
}
No comments:
Post a Comment