Want to know Testking 1Z0-803 Exam practice test features? Want to lear more about Oracle Java SE 7 Programmer I certification experience? Study Tested Oracle 1Z0-803 answers to Avant-garde 1Z0-803 questions at Testking. Gat a success with an absolute guarantee to pass Oracle 1Z0-803 (Java SE 7 Programmer I) test on your first attempt.

2021 Mar 1Z0-803 exam question

Q11. Given: 

Javac Jump.java 

Java Jump crazy elephant is always 

What is the result? 

A. Lazy lion is jumping 

B. Lion is always jumping 

C. Crazy elephant is jumping 

D. Elephant is always jumping 

E. Compilation fails 


Q12. The protected modifier on a Field declaration within a public class means that the field 


A. Cannot be modified 

B. Can be read but not written from outside the class 

C. Can be read and written from this class and its subclasses only within the same 


D. Can be read and written from this class and its subclasses defined in any package 


Q13. Given the code fragment: 

What is the result? 

A. 28false29 true 

B. 285 < 429 true 

C. true true 

D. compilation fails 


Q14. View the exhibit: 

public class Student { 

public String name = ""; 

public int age = 0; 

public String major = "Undeclared"; 

public boolean fulltime = true; 

public void display() { 

System.out.println("Name: " + name + " Major: " + major); } 

public boolean isFullTime() { 

return fulltime; 

Which line of code initializes a student instance? 

A. Student student1; 

B. Student student1 = Student.new(); 

C. Student student1 = new Student(); 

D. Student student1 = Student(); 


Q15. Which two are valid array declaration? 

A. Object array[]; 

B. Boolean array[3]; 

C. int[] array; 

D. Float[2] array; 

Answer: AC 

Refresh 1Z0-803 practice exam:

Q16. Which two are valid declarations of a two-dimensional array? 

A. int [] [] array2D; 

B. int [2] [2] array2D; 

C. int array2D []; 

D. int [] array2D []; 

E. int [] [] array2D []; 

Answer: AD 

Q17. Given: 

A. Good Day! 

Good Luck! 

B. Good Day! 

Good Day! 

C. Good Luck! 

Good Day! 

D. Good Luck! 

Good Luck! 

E. Compilation fails 


Q18. for ( expr1 ; expr2 ; expr3 ) { 


Which two statements are true? 

A. This is not the only valid for loop construct; there exits another form of for loop 


B. The expression expr1 is optional. it initializes the loop and is evaluated once, as the loop 


C. When expr2 evaluates to false, the loop terminates. It is evaluated only after each 

iteration through the loop. 

D. The expression expr3 must be present. It is evaluated after each iteration through the 


Answer: BC 

Q19. Which is a valid abstract class? 

A. public abstract class Car { 

protected void accelerate(); 

B. public interface Car { 

protected abstract void accelerate(); 

C. public abstract class Car { 

protected final void accelerate(); 

D. public abstract class Car { 

protected abstract void accelerate(); 

E. public abstract class Car { 

protected abstract void accelerate() { 

//more car can do 



Q20. boolean log3 = ( 5.0 != 6.0) && ( 4 != 5); 

boolean log4 = (4 != 4) || (4 == 4); 

System.out.println("log3:"+ log3 + nlog4" + log4); 

What is the result? 

A. log3:false log4:true 

B. log3:true log4:true 

C. log3:true log4:false 

D. log3:false log4:false