In java language For the next questions, use the following class headers: public
ID: 3677861 • Letter: I
Question
In java language
For the next questions, use the following class headers:
public interface FinancialAidEligible
public abstract class Person
public class Student extends Person
public class Undergraduate extends Student implements FinancialAidEligible
Question 1
The following is a legal assignment statement.
Person p1 = new Person(...)
Select one:
True
False
Question 2
The following is a legal assignment statement.
Person p1 = new Student(...)
Select one:
True
False
Question 3
The following is a legal assignment statement.
FinancialAidEligible p1 = new FinancialAidEligible (...)
Select one:
True
False
Question 4
The following is a legal assignment statement.
FinancialAidEligible p1 = new Student(...)
Select one:
True
False
QUESTION 5
The following is a legal assignment statement.
FinancialAidEligible p1 = new UndergraduateStudent(...)
Select one:
True
False
QUESTION 6
The following is a legal assignment statement.
Person[] people = new Person[10];
Select one:
True
False
Question 7
he following is a legal assignment statement.
Student[] people = new Student[10];
Select one:
True
False
QUESTION 8
The following is a legal assignment statement.
FinancialAidEligible[] people = newFinancialAidEligible[10];
Select one:
True
False
Explanation / Answer
1.False
2.True
3.False
4.false
5.True
6.False
7.True
8.False
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.