Core Java Interview questions


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

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

Two types of constructor in java.They are as follows

    1.Default constructor(i.e, with out arguments)

    2.Parameterised constructor(i.e, with arguments)




Next 5 interview question(s)

1

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

2

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

3

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

4

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

5

Can we use both "this" and "super" keywords in constructor?