Within a class, only one static constructor can be created.

Bờm

Member
Within a class, only one static constructor can be created.
A. True
B. False
 
Answer: a
Explanation: Since the static constructors are can’t be parameterized, they can’t be overloaded. Having this case, only one constructor will be possible to be created in a local scope, because the signature will always be same and hence it will not be possible to overload static constructor.
 

Tìm kiếm

Back
Top