nerdexam
Exams1Z0-803Questions#243
Oracle

1Z0-803 · Question #243

1Z0-803 Question #243: Real Exam Question with Answer & Explanation

The correct answer is D: c =. See the full explanation below for the reasoning.

Question

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?

Options

  • Ac = null
  • Bc = 0
  • Cc = null
  • Dc =

Community Discussion

No community discussion yet for this question.

Full 1Z0-803 Practice
Given: public class FieldInit { char c; boolean b; float f; void... | 1Z0-803 Q#243 Answer | NerdExam