PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy Question: 10
(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
Mahito2001
Ngày thêm
Lượt xem
3,556
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom