What things should be kept in mind while creating your own exceptions in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain the difference between transient and volatile in java?

0 Answers  


What is replacefirst in java?

0 Answers  


What does indexof return in java?

0 Answers  


Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }

3 Answers  


Can we sort list in java?

0 Answers  






What interface is extended by awt event listeners?

0 Answers  


What is final variable?

0 Answers  


There are 100 keys and values in HashMap.how to get the keys and values?

1 Answers   IBS,


Is namespace same as package in java?

0 Answers  


What is finally in exception handling?

7 Answers  


How many bits is a word?

0 Answers  


what is difference between String buffer and String builder?

5 Answers   Benchmark,


Categories