Question 13 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question 13 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question

Given the code fragment:

Account java:

public class Acount {
private int accld = 12345;
// getters and setters

}

‘Customer java:

public class Customer {
private Account ace; //line 1
public void setAcc(Account ace) // line 2
{ this.ace=ace; }
public Account getAce() // line 3
{ return ace; }

And -

index.xhtml:

<h:outputText value = "The Id is #(customer.ace.accld)"/>

Which two steps, when performed independently, enable the index.xhtml page to print the following text: The Id is 12345? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

DF.