PRO192_-_SU_2024_-_RE_2466.webp
B

PRO192_-_SU_2024_-_RE_2466.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
bright_moon
Ngày thêm
Lượt xem
3,194
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom