Question 65 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 65 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given:

public class Triangle {
static double area;
int b = 2, h = 3;
public static void main(string[] args) {

double p, by hy //line ni
if (area Oo) {
b
h= 43
p= 0.5;
3
area = p * b* hj //line n2

System. out.printin("Area is " + area);

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.