PRO192_-_SU_2025_-_QUIZ2_3925.webp
Hữu Vinh

PRO192_-_SU_2025_-_QUIZ2_3925.webp

Question 7
Answer saved
Flag
question
FEOVERFLOW.COM
Can you have a no-argument constructor and a parameterized constructor in the same class?
a. Yes, but the parameterized constructor should have more parameters than the no-argument constructor
b. Yes, it's allowed and common in constructor overloading
c. No, it's not allowed
Od. Yes, but the parameterized constructor should have fewer parameters than the no-argument constructor
Clear my choice
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
Hữu Vinh
Ngày thêm
Lượt xem
357
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom