PRO192_-_FA_2023_-_FE_1027.webp
Erza_girl

PRO192_-_FA_2023_-_FE_1027.webp

Answer (Choose 1 answer)
A. Compilation of both classes will succeed.
B. Compilation of both classes will fail.
C. Compilation of class B will fail. Compilation of class A will succeed.
D. Compilation of class A will fail. Compilation of class B will succeed.
Given a Class A:
1. public class A {
2. public void doSomething() {}3.}
and Class B:
1. public class B extends A {
2. public void doSomething() throws SomeException {}
3.}
Which is true about the two classes?


Thông tin

Category
PRO192
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
4,033
Lượt bình luận
19
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_FA_2023_-_FE_1027.webp
File size
52.8 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom