A class constructor (Select two answers)
Suggested Answer: B, C
Get Premium PCAP-31-03 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
15 comments · newest first
GR
Gracia
2 months ago
Right, D is misleading. Constructors are for creating instances.
TE
Teri
2 months ago
D seems off too. Superclasses don’t invoke constructors directly.
RO
Rory
2 months ago
Yes, C makes sense. It’s how inheritance works.
GU
Gussie
3 months ago
I believe C is correct. Subclasses can call the constructor.
RO
Rozella
3 months ago
Agreed, A is definitely incorrect.
BR
Brandon
3 months ago
I think A is wrong. Constructors don’t return values.
ER
Ernest
3 months ago
Yeah, it's all about the initialization, no return values!
DO
Doug
3 months ago
I thought constructors could be called from superclasses too?
MA
Malcolm
3 months ago
Wait, can it really be invoked from subclasses? That seems off.
TR
Tricia
4 months ago
Totally agree, it’s just for initializing objects!
MI
Micaela
4 months ago
A constructor can't return a value, right?
IV
Ivette
4 months ago
I’m confused about whether a constructor can be invoked from a superclass. I need to review that part again.
ER
Erick
4 months ago
I feel like we practiced a question similar to this, and I think constructors can only be invoked in certain ways.
ED
Eden
4 months ago
I remember something about constructors being called in subclasses, so maybe option C is correct?
NI
Nickolas
4 months ago
I think a constructor can't return a value, but I'm not sure about the invocation rules.