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

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

Question

Given the following class definition with numbered lines:

‘@Alternative

public class ShoppingCartMock implements ShoppingCart {
@Override
public void checkout() {..}

How do you specify to use this mock CDI bean implementation instead of the regular implementation class?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.