<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-639209325064097932</id><updated>2012-01-22T16:42:55.469-08:00</updated><category term='fundamentals'/><category term='tricky'/><category term='SQL'/><category term='experienced'/><category term='beginner'/><title type='text'>Java Interview Questions and Answers</title><subtitle type='html'>Common Java interview questions with answers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.interviewserver.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-2358832569543824243</id><published>2011-11-06T19:34:00.000-08:00</published><updated>2011-12-11T10:45:55.483-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='experienced'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SQL interview questions for Java developer</title><summary type='text'>There are SQL interview questions for Java developer, because Java applications come in different shapes and sizes. The application could be just servlet based web application or it could use application frameworks like Spring or Struts. All enterprise Java applications have a common approach: they store data in a database like MS SQL, Oracle SQL or MySQL and use some framework to interact with </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/2358832569543824243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=2358832569543824243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2358832569543824243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2358832569543824243'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/11/sql-interview-questions-java-developer.html' title='SQL interview questions for Java developer'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-2200687156920980091</id><published>2011-10-29T20:24:00.000-07:00</published><updated>2011-10-29T20:31:54.795-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='experienced'/><title type='text'>Java Interview Question 9: What do you think of the future of Java?</title><summary type='text'>As an open-ended interview question I like to ask both beginner and experienced Java Developer about Java future. The short version of one of the answers may sound like this: 

Java platform, JVM and JDK, will certainly continue have the same importance it had in the past and will most likely maintain its position of most popular platform for software development for a long time. Groovy, Selenium</summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/2200687156920980091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=2200687156920980091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2200687156920980091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2200687156920980091'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/10/java-interview-question.html' title='Java Interview Question 9: What do you think of the future of Java?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-4166006840861302533</id><published>2011-10-08T22:38:00.000-07:00</published><updated>2011-10-18T23:09:54.598-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='experienced'/><title type='text'>Java Interview Question 8: When to use private constructor?</title><summary type='text'>Usually Java interview questions for developers with 2 year experience, 3 year experience do not include basic questions like explaining difference between JDK and JRE or naming four access level modifiers in Java. I bet every beginner Java developer could name them as public, protected, default and private and most likely would remember that a constructor can use all four access modifiers. In </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/4166006840861302533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=4166006840861302533' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/4166006840861302533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/4166006840861302533'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/10/when-to-use-private-constructor.html' title='Java Interview Question 8: When to use private constructor?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-9068538108700627365</id><published>2011-04-26T22:42:00.000-07:00</published><updated>2011-10-18T23:09:17.982-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 7: What is final finally finalize difference?</title><summary type='text'>Java interview question about final, finally, and finalize is a straightforward question and software developer with an experience should not blabber on about a problem, but should stay light on details and just state the key points.

Final

When Final is applied to a class: The class cannot be subclassed.
public final class FinalClassExample {...}
When Final is applied to a method: The method </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/9068538108700627365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=9068538108700627365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/9068538108700627365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/9068538108700627365'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/04/final-finally-finalize-difference.html' title='Java Interview Question 7: What is final finally finalize difference?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-5439156912786337726</id><published>2011-03-27T21:40:00.001-07:00</published><updated>2011-10-18T23:09:08.826-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 6: Explain JVM memory structure?</title><summary type='text'>Some Java software developers think that they do need to know about JVM memory structure and wrongly assume that Java code written by them will always work if they were able to compile and run the application at least once. Unfortunately this is not a true, so the interviewer should always ask at least one question on JVM memory structure and tuning. The interviewer would expect that software </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/5439156912786337726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=5439156912786337726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/5439156912786337726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/5439156912786337726'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/03/jvm-memory-structure-interview.html' title='Java Interview Question 6: Explain JVM memory structure?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-2914048551130284584</id><published>2011-03-18T10:57:00.000-07:00</published><updated>2011-10-18T23:08:59.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 5: What is JVM?</title><summary type='text'>The Java Virtual machine (JVM) is the implementation of abstract definition of the Java Virtual Machine Specification. JVM is the application required for execution of a Java applications and programs. There are multiple implementation of JVM by different vendors. For example, JRockit JMV Oracle, I9 JVM IBM and HotSpot JVM (née Sun) Oracle. JVM is primarily aimed at executing Java applications, </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/2914048551130284584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=2914048551130284584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2914048551130284584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/2914048551130284584'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/03/java-interview-questions-jvm.html' title='Java Interview Question 5: What is JVM?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-JP3ZLyXyhks/TYOrkm4mHZI/AAAAAAAAGz4/NGGChgkRSrA/s72-c/java%2Bversion.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-5450358820568102676</id><published>2011-02-16T21:52:00.000-08:00</published><updated>2011-10-18T23:08:51.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 4: What is the difference between JRE and JDK?</title><summary type='text'>Ask a simple java interview question, such as what is JRE and JDK? (a legitimate interview question) and you still will get a few incorrect answers. Apparently even Senior Java developers sometimes being confused about the functionality of JRE and JDK.

What is JRE?

JRE is Java Runtime Environment. It is obviously JVM (Java Virtual Machine), core libraries and other additional components </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/5450358820568102676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=5450358820568102676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/5450358820568102676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/5450358820568102676'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/02/java-interview-question-jre-and-jdk.html' title='Java Interview Question 4: What is the difference between JRE and JDK?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-1327431049637754267</id><published>2011-01-06T15:40:00.000-08:00</published><updated>2011-10-18T23:08:29.486-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricky'/><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 3: What is the difference between J2EE and Java EE?</title><summary type='text'>One of the questions I often ask during an interview is to explain the difference between Java EE and J2EE. Not surprisingly, this Java interview question is not as simple as it seems. I'm glad there are software developers who knows the correct answer, surprised that there are candidates who do not know the difference, and shocked when the candidate, usually folks applying for senior positions, </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/1327431049637754267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=1327431049637754267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/1327431049637754267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/1327431049637754267'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2011/01/java-interview-question-j2ee-java-ee.html' title='Java Interview Question 3: What is the difference between J2EE and Java EE?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-6096562761332444422</id><published>2010-12-18T15:47:00.001-08:00</published><updated>2011-10-18T23:08:18.338-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java Interview Question 2: Top Reasons To Choose Java?</title><summary type='text'>How you answer the interview questions software developer willl be presented with during your interviews will determine whether or not software developer gets a job offer, so it is important to answer all questions even they appear to be an easy ones. There are multiple reasons to choose Java over other technologies and a few of them are :

Java is free and open source. There are large </summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/6096562761332444422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=6096562761332444422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/6096562761332444422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/6096562761332444422'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2010/12/java-interview-question-top-reasons-to.html' title='Java Interview Question 2: Top Reasons To Choose Java?'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-639209325064097932.post-7708579176494028568</id><published>2009-07-02T11:17:00.001-07:00</published><updated>2011-10-18T23:08:08.574-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fundamentals'/><category scheme='http://www.blogger.com/atom/ns#' term='beginner'/><title type='text'>Java interview question 1: Explain public static void main(String[] args) method</title><summary type='text'>In Java language, every application must contain a main method whose signature is one of the following method heading

public static void main(String[] args)

public static void main(String... args)

public static void main(String args[])

public - can be accessed from anywhere
static – can be invoked without instantiating the class
void  - the method returns nothing
main – the name of the method</summary><link rel='replies' type='application/atom+xml' href='http://www.interviewserver.com/feeds/7708579176494028568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=639209325064097932&amp;postID=7708579176494028568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/7708579176494028568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/639209325064097932/posts/default/7708579176494028568'/><link rel='alternate' type='text/html' href='http://www.interviewserver.com/2009/07/java-interview-question-1-explain.html' title='Java interview question 1: Explain public static void main(String[] args) method'/><author><name>MB</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
