1z0-808 Exam Question 97
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?
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?
1z0-808 Exam Question 98
Given the following code for the classes MyException and Test:

What is the result?

What is the result?
1z0-808 Exam Question 99
Given:

What is result?

What is result?
1z0-808 Exam Question 100
Given the code fragment:

Which two modifications should you make so that the code compiles successfully?


Which two modifications should you make so that the code compiles successfully?

1z0-808 Exam Question 101
Given the code fragment:

What is the result?

What is the result?
