Difference between throw and throws?


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

Post New Answer

More Core Java Interview Questions

What is the use of static keyword in "public static void main()"

10 Answers   College School Exams Tests, Infosys, Six Dee Telecom,


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


Can bool be null?

0 Answers  


What is difference between c++ and java ?

0 Answers  


Define an enumeration?

0 Answers  






ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }

1 Answers  


What is a file pointer?

0 Answers  


Why operator overloading is not in Java?

0 Answers  


What is the significance of java packages?

0 Answers  


What are the types of literals?

0 Answers  


how to run servlet program between two computer through the internet ?

2 Answers   Kiran Prakashan, TCS,


What is the life cycle of an Applet ?

1 Answers  


Categories