Java Interview Questions
February 19th, 2008 by admin
Q What is the difference between AWT and Swing?Q What is final and finalize in Java ?
Q What is the purpose of the finally block in Java ? Would you free resources in the finally block or in finalize and why? Q Consider the below -try{ //code for reading file data and then processing it}catch (Exception e){}
catch (FileIOException ex)
{
}
Is anything wrong with the java code above? Would it give a compile time or a run time exception or none?
Q What are the keywords transient and volatile for?
Q What are the different type of statements you can have using JDBC?
Q What are the various JDBC drivers?
Q When would you use a hashmap and when would you use a hashtable?
Q What keyword you would use for thread safety in multithreaded code?
Q Can you invoke an executable from your java code - ex open notepad from within the code?
In addition, the Java Interview Questions site attempts to discuss core java IT technical interview questions in detail. These are some of the java job interview questions that were asked in various java interviews.
This entry was posted on Tuesday, February 19th, 2008 at 11:19 am and is filed under Interview Questions. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.