Given the code fragment:
Assume that the system date is June 20, 2014. What is the result?
Class StaticField {
static int i = 7;
public static void main(String[] args) {
StaticFied obj = new StaticField();
obj.i++;
StaticField.i++;
obj.i++;
System.out.println(StaticField.i + " "+ obj.i);
}
}
What is the result?
Which two code fragments cause a compilation error? (Choose two.)
float flt = 100.00F;