| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| In what circumstances, compiler will supply a default
constructor for a class? | | 4 |
| What is the use of an interface? | | 3 |
| Explain the differences between public, private, protected
and static? | | 3 |
| How to decrease number of hashings in has | | 1 |
| When finally clause is executed? | | 3 |
| What are null interfaces in JAVA ? and give me some
examples? | | 3 |
| Is it possible to create Userdefined Unchecked Exception
also?If Yes, give an example? | | 2 |
| What are Font and FontMetrics classes? | | 1 |
| How are Observer and Observable used? | | 2 |
| Write program to print Hello World and print each character
address in that string and print how many times each
character is in that string?
Ex: H: 0 & 1
e:1 & 1
l :2,3,8 & 3
o:4,6 & 2
w:5 & 1
r: 7 & 1
d 9 & 1 | Huawei | 3 |
| What do you mean by Remote procedure call? | | 2 |
| Is it compulsory to have atleast one abstract method in
abstract class?
| | 7 |
| What is Ideal Design of Class? | | 2 |
| What classes of exceptions, caught by a catch clause? | | 1 |
| when to use abstract class and when to use interface? | IonIdea | 5 |
| Which Java operator is right associative? | | 1 |
| what is java bean?where can we use it? | TCS | 3 |
| How to perform Singleton of the java class object on multi
JVM? | | 1 |
| What is the difference between overloading and overriding a
function? | Infosys | 7 |
| What is the argument type of main() method? | | 2 |
| |
| For more Core Java Interview Questions Click Here |