PRO192_-_SU_2024_-_Block_5_-_FE_2618.webp
Quốc Hùng2

PRO192_-_SU_2024_-_Block_5_-_FE_2618.webp

Kizspy | Question: 7 (Choose 1 answer)
Assume that all library files are imported.What is the output of the following code snippet?
public static void main(String[] args){Date a=new Date();
boolean result = a instanceof Date;
System.out.print("a is an instance of "+result); }
A. a is an instance of true
B. a is an instance of Object
C. a is an instance of Date
D. a is an instance of false

Thông tin

Category
PRO192
Thêm bởi
Quốc Hùng2
Ngày thêm
Lượt xem
4,474
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom