Can we write multiple catch blocks under single try block?


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

Post New Answer

More Core Java Interview Questions

What is data type example?

0 Answers  


When is the finalize() called?

0 Answers  


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


Why can't we override private static methods?

0 Answers  


What is the unit of plancks constant?

0 Answers  


What is module in oop?

0 Answers  


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

0 Answers  


difference between String a; and String a=new String();? y do v need to assign memory to the variable?

2 Answers  


What is the difference between interpreter and compiling ?

2 Answers   TCS,


Variable of the boolean type is automatically initialized as?

0 Answers  


Can we serialize static variables in java?

0 Answers  


7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?

4 Answers   CSC, Nagarro, RBS,


Categories