PRO192_-_C2_-_FE_-_SU_2023_398.webp
T

PRO192_-_C2_-_FE_-_SU_2023_398.webp

(Choose 1 answer)
Exit 16
What will happen if you attempt to compile and run the following code?
class Base
class Sub extends Base
class Sub2 extends Base {}public class CEx{
public static void main(String argv[]){Base b=new Base();
}
Sub s=(Sub) b;
}
A. Compile and run without error
B. Compile time Exception
C. Runtime Exception

Thông tin

Category
PRO192
Thêm bởi
Thái Dương1
Ngày thêm
Lượt xem
2,772
Lượt bình luận
16
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_C2_-_FE_-_SU_2023_398.webp
File size
49.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom