when exactly should we use throws ,and wen exactly should we
use the try and catch for exceptional handling


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

Post New Answer

More Java J2EE AllOther Interview Questions

my interviewer asked me what technical specification you used how to answer that question

1 Answers  


Which sorting algorithm is used by collections.sort() in java ?

1 Answers  


what is difference between business deligate and session facade ?

2 Answers   Fidelity,


what is the difference between checked and unchecked Exceptions?

4 Answers   CTS,


"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions

6 Answers   Photon,


How do you debug your java program?

2 Answers   HCL, Inforica,


Difference b/w >> and >>> ?

1 Answers   Adobe, Infosys,


please mail me the interview question based on java/j2ee

1 Answers   Wipro,


what debugging tool that can be used to debug the java programs?

1 Answers   Inforica,


Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...

2 Answers   Span Systems,


What is the difference between comparable and comparator in java.util pkg?

1 Answers  


How to call the m1() method of Base class in below snippet ? class Base { public void m1() { System.out.println("Base m1 "); } public void m2() { System.out.println("Base m1 "); } } ====================== class Derived extends Base { public void m1() { System.out.println("Derived m1"); } public void m3() { System.out.println("Derived m3"); } public static void main(String[] args) { Base ob=new Derived(); ob.m1(); //System.out.println("Hello World!"+ob.m1()); } }

6 Answers   Cap Gemini, TCS,


Categories