hiexam
oracle · 1z0-900 · Q606 · multiple_response · topic_1

Given the code fragment: //IMG// And - //IMG// Which two steps, when performed independently, enable the index.xhtml…

Given the code fragment: //IMG// And - //IMG// Which two steps, when performed independently, enable the index.xhtml page to print the following text: The Id is 12345? (Choose two.)
  • A.Replace line 2 with: @Inject public void setAcc(Account acc)
  • B.Replace line 3 with: @Inject public Account getAcc()
  • C.Replace line 1 with: @Inject private Account acc;
  • D.Replace line 3 with: public @Inject Account getAcc()
  • E.Replace line 1 with: private @Inject Account acc;
  • F.Replace line 2 with: public void setAcc(@Inject Account acc)
Explanation
Answer A,C

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.