PRO192_-_C1_-_RE_-_SU_2023_545.webp
Hoàng Long1

PRO192_-_C1_-_RE_-_SU_2023_545.webp

(Choose 1 answer)
class Base Base(int i){System.out.println("Base");}
}
What will happen when you attempt to compile and run the following class?
class Severn extends Base{
public static void main(String argv[]){Severn s = new Severn();
void Severn(){
System.out.println("Severn");}
}
A. Compilation and output of the string "Severn" at runtime
B. Compile time error
C. Compilation and no output at runtime
D. Compilation and output of the string "Base"

Exit 5

Thông tin

Category
PRO192
Thêm bởi
Hoàng Long1
Ngày thêm
Lượt xem
2,369
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_C1_-_RE_-_SU_2023_545.webp
File size
54.9 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom