Core Java Interview questions


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

Can you differentiate abstract class and interface in java?

Abstract class can have abstract and non-abstract methods where as Interface can have only abstract methods. Abstract class doesn't support multiple inheritance where as Interface supports multiple inheritance.

 




Next 5 interview question(s)

1

Can we use final for methods in an Interface?

2

Can you give example for nested interface in java?

3

Is it possible to instantiate abstract class in java?

4

Is it possible to instantiate interface in java?

5

Which keywords are used when a class inherits interface and interface inherits interface in java?