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)

1

Can we inherit constructor in java?

2

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

3

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

4

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

5

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