Core Java Interview questions

Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

Can constructor perform other tasks instead of initialization?

Yes, like object creation, starting a thread, calling method etc. You can perform any operation in the constructor as you perform in the method.

Next 5 interview question(s)


Can we inherit constructor in java?


How many types of constructor in java and what are they?


Is "static" keyword can be applied to Class (Not Nested) in java?


Is "static" keyword can be applied to Inner Class methods in java?


Is "static" keyword can be applied to Constructor in java?