skip to main | skip to sidebar

JAVA

Java - J2EE - Strings - Constructors - AWT - Multithreading - Exception Handling - Garbage Collection - J2ME - JDBC - Servlets - JSP - WebSphere - WSAD - Weblogic - Tomcat - Eclipse - JFC - Swings - EJB - Struts - Spring - Hibernate - AJAX - HTML - UML -JavaScript - XML - Webservices - SOAP - AXIS - JMS - JNDI - Oracle -PL/SQL - MySQL - InterviewQuestions

Labels

  • Collective Qns (1)
  • Customizing the Javadoc Tool (1)
  • Developing with the Javadoc Tool (1)
  • Errors and Warnings (1)
  • Interview Qns (1)
  • Interview Qns_1 (1)
  • Interview Qns_2 (2)
  • Interview Qns_3 (2)
  • Interview Qns_4 (2)
  • Interview Qns_5 (1)
  • Interview Qns_6 (1)
  • Interview Qns_7 (1)
  • J2EE Tutorials (1)
  • Java 2D Qns (1)
  • Java 2D Qns_2 (1)
  • Java 2D Qns_3 (2)
  • Java 2D Qns_4 (1)
  • Java 2D Qns_5 (1)
  • Java 2D Qns_6 (1)
  • Java Interview (1)
  • Javadoc FAQ (1)
  • Javadoc FAQ_1 (2)
  • Javadoc FAQ_2 (1)
  • Javadoc FAQ_3 (1)
  • Javadoc FAQ_4 (1)
  • Javadoc FAQ_5 (1)
  • Javadoc FAQ_6 (1)
  • JSP Interview Qns_1 (1)
  • JSP Interview Qns_2 (1)
  • JSP Interview Qns_3 (1)
  • Servlet Interview Questions (1)
  • Troubleshooting:Bugs (1)

About Me

Khushi
View my complete profile

Thursday, August 21, 2008



Question: Does Java provide any construct to find out the size of an object?

Question: Give a simplest way to find out the time a method takes for execution without using any profiling tool?

Question: What are wrapper classes?

Question: Why do we need wrapper classes?

Question: What are checked exceptions?

Question: What are runtime exceptions?

Question: What is the difference between error and an exception??

Question: How to create custom exceptions?

Question: If I want an object of my class to be thrown as an exception object, what
should I do?

Question: If my class already extends from some other class what should I do if I
want an instance of my class to be thrown as an exception object?

Question: How does an exception permeate through the code?

Question: What are the different ways to handle exceptions?

Question: What is the basic difference between the 2 approaches to exception
handling...1> try catch block and 2> specifying the candidate exceptions in the
throws clause?When should you use which approach?

Question: Is it necessary that each try block must be followed by a catch block?

Question: If I write return at the end of the try block, will the finally block still execute?

Question: If I write System.exit (0); at the end of the try block, will the finally block still execute?

Posted by Khushi at 5:04 AM  

Labels: Interview Qns_4

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)