Vidyalelo
Java Programming · Q64

Constructors and Methods

Programming · Java Programming · question 64

Q64

What is true about constructor?

A.
It can contain return type
B.
It can take any number of parameters
Answer
C.
It can have any non access modifiers
D.
Constructor cannot throw an exception

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board