Core Java Interview questions


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

Can a normal class have an abstract method in java?

No,If a class contains abstract methods then the class should be declared abstract.Otherwise a compile error will be thrown.




Next 5 interview question(s)

1

Is it compulsory for a abstract class to have abstract methods?

2

Can we instantiate abstract class in java?

3

What is meant by abstract class in java?

4

What meant by  final variable and how will we declare?

5

When will we use final methods in java?