Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple70

Pass the Oracle Java SE 1z0-811 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam 1z0-811 Premium Access

View all detail and faqs for the 1z0-811 exam


414 Students Passed

96% Average Score

93% Same Questions
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

Identify two valid data types for the operands of the addition (+) operator?

Options:

A.

string

B.

boolean

C.

numeric

D.

array

Questions # 2:

Which method identifier is correct according to Java naming conventions?

Options:

A.

BillCalculator

B.

calculateBill

C.

calculatebill

D.

Calculator

Questions # 3:

Given:

Question # 3

What is the result?

Options:

A.

Compilation fails. To make it compile, replace line n1 with var1 = 0;

B.

Compilation fails. To make it compile, replace line n2 with var2 = 0;

C.

0

D.

Nothing is printed.

Questions # 4:

Which statement is true about primitive variables?

Options:

A.

They can be compared with the == operator.

B.

They can be compared with the equals method only.

C.

They cannot be compared.

D.

They can be compared with the compareTo method only.

Questions # 5:

What does import java.io* mean?

Options:

A.

Only the io class is imported.

B.

All classes in the io package are imported.

C.

All classes whose names start with io are imported.

D.

All classes in the io package and the subpackages of io packages, if any, are imported.

Questions # 6:

Which package would you import to use the Random class?

Options:

A.

java.io

B.

java.math

C.

java.util

D.

java.lang

Questions # 7:

Given the code fragment:

Question # 7

What is the result?

Options:

A.

9

12

B.

10

10

C.

9

9

D.

10

14

Questions # 8:

Which statement is true about a mutator method?

Options:

A.

It replaces the default constructor.

B.

It returns mutated instance members.

C.

It must be declared private.

D.

It can be used to assign data to instance members.

Questions # 9:

Given the code fragment:

Question # 9

What is the result?

Options:

A.

A compilation error occurs.

B.

A runtime exception is thrown.

C.

Julia

Peter

D.

Peter

Julia

Questions # 10:

Given the code fragment:

Question # 10

What is the result?

Options:

A.

false

false

B.

true

true

C.

true

false

D.

false

true

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.