Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Java SE 1z0-811 Updated Exam

Page: 2 / 3
Total 75 questions

Java Foundations Questions and Answers

Question 5

Given the code fragment:

What is the result?

Options:

A.

A compilation error occurs.

B.

A runtime exception is thrown.

C.

Julia

Peter

D.

Peter

Julia

Question 6

Identify three features of the Java programming language.

Options:

A.

distributed

B.

direct memory management

C.

multithreaded

D.

strongly typed

E.

dynamically typed

Question 7

Given the code fragment:

What is the result?

Options:

A.

25.67

B.

25.00

C.

25.7

D.

26

Question 8

Given:

Which statement is true about the main method?

Options:

A.

It can be a non-static method.

B.

Its parameter can be of type Integer [].

C.

It cannot be defined in a non-public class.

D.

It cannot be invoked by its name.

Page: 2 / 3
Total 75 questions