What is the output of the following code?

```
public class Test {
public static void main(String[] args) {
new Person().printPerson();
new Student().printPerson();
}
}

class Student extends Person {
private String getInfo() {
return "Student";
}
}

class Person {
private String getInfo() {
return "Person";
}

public void printPerson() {
System.out.println(getInfo());
}
}
```
a. Person Person
b. Person Student
c. Stduent Student
d. Student Person


a. Person Person

Computer Science & Information Technology

You might also like to view...

You need to publish Flash movies to a(n) ____ file before you can insert them in Dreamweaver.

A. FLA B. HTML C. SWF D. Both b and c

Computer Science & Information Technology

Report view allows you to change the page layout such as from landscape to portrait view, or to change margins

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is NOT an option for arithmetic operators?

A. Percent (%) B. Division (/) C. Rate ($) D. Exponentiation (^)

Computer Science & Information Technology

__________ occurs when an application running on a Web server inserts commands into a user's browser session and causes information to be sent to a hostile server.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology