Given: public class FieldInit { char c; boolean b; float f; void printAll() { System.out.println("c =

By | January 1, 2023

Given:
public class FieldInit {
char c;
boolean b;
float f;
void printAll() {
System.out.println(“c = ” + c);
System.out.println(“c = ” + b);
System.out.println(“c = ” + f);
}
public static void main(String[] args) {
FieldInit f = new FieldInit();
f.printAll();
}
}
What is the result?

Correct Answer: C