Question 94 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 94 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Given:

class Product {
String pname;
public Product (String pname)
this.pname = pname;
}
Product pl = new Product ("PowerCharger
Product p2 = pl;

System. out.printIn (pl.equals (p2));
Product p3 = new Product ("PowerCharger
System. out.printIn (p1.equals (p3));

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.