PRO192_-_SU_2024_-_FE_2329.webp
Q

PRO192_-_SU_2024_-_FE_2329.webp

Kizspy | Question: 28
(Choose 1 answer)
In Java, can an abstract class have instance variables?
A. Yes, abstract classes can have both instance and static variables.
B. No, abstract classes cannot have instance variables.
C. Yes, but only if the instance variables are declared as "static"
D. Yes, but only if the abstract class has no methods.

Thông tin

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

Share this media

Back
Bên trên Bottom