Qviii
Consider the following class definition:
class Student extends String
}
Which of the following statement(s) is) are TRUE?
a. Code will not compile because the body is not defined.
b. Code will not compile because the class is not declared as public.
c. Code will not compile because of the super class String.
d. Code will compile successfully.
Answers
Answered by
0
Explanation:
Qviii
Consider the following class definition:
class Student extends String
}
Which of the following statement(s) is) are TRUE?
a. Code will not compile because the body is not defined.
b. Code will not compile because the class is not declared as public.
c. Code will not compile because of the super class String.
d. Code will compile successfully.
Similar questions