Thursday 25 December 2014

Best References for java


 Oracle Java SE Tutorial , is one of the best guide for Java, I have found on internet. And the best thing is you can download it. Just go to the mentioned homepage.



Following are some good books worth reading. 


Tuesday 23 December 2014

Interview Questions

We have listed some of the common java interview questions. We will try to answer each one of them.
  1. What is immutable object?
  2. What are the usage of static keyword in java?
  3. Abstract class or interface, how will you choose, with example?
  4. Why multiple inheritance is not allowed in java?
  5. What are unchecked exceptions?
  6. Difference between notify() and notifyAll()? what will you prefer? [Multithreading] 
  7. What are the types of nested classes in java?

Thursday 14 November 2013

Creating Database Connection in Eclipse DTP

In this post, I will create a database connection in Eclipse to MySQL database.

List of software you need:
  • Eclipse IDE with DTP(Data Tools Platfoem). I am using Eclipse Java EE IDE version Kepler which comes with built in DTP. You can download this from Eclipse download page
  • MySQL Server. You will need to install MySQL server. I have installed MySQL Community Server 5.6. You can download it from MySQL Server Download page. This is a link to give more information about installation of MySQL server - Install and configure MySQL Server
  • MySQL Connection driver for Java. You can download it from this page. This will be a zip or gz compressed file. You have to extract it at any location. This contains a .jar file. I am using mysql-connector-java-5.1.25-bin.jar .