What is difference between equals() and == ?

Explanation : 1 They both differ very much in their significance. equals() method is present in the java.lang.Object class and it is expected to check for the equivalence of the state of objects! That means, the contents of the objects. Whereas the ‘==’ operator is expected to check the actual object instances are same or […]

Difference Between List and ArrayList ?

List is an interface and ArrayList is an implementation of the List interface. The arraylist class has only a few methods in addition to the methods available in the List interface. There is not much difference in this. The only difference is, you are creating a reference of the parent interface in the first one […]

List of Hibernate SQL Dialects

RDBMS Dialect DB2 org.hibernate.dialect.DB2Dialect DB2 AS/400 org.hibernate.dialect.DB2400Dialect DB2 OS390 org.hibernate.dialect.DB2390Dialect PostgreSQL org.hibernate.dialect.PostgreSQLDialect MySQL org.hibernate.dialect.MySQLDialect MySQL with InnoDB org.hibernate.dialect.MySQLInnoDBDialect MySQL with MyISAM org.hibernate.dialect.MySQLMyISAMDialect Oracle (any version) org.hibernate.dialect.OracleDialect Oracle 9i/10g org.hibernate.dialect.Oracle9Dialect Sybase org.hibernate.dialect.SybaseDialect Sybase Anywhere org.hibernate.dialect.SybaseAnywhereDialect Microsoft SQL Server org.hibernate.dialect.SQLServerDialect SAP DB org.hibernate.dialect.SAPDBDialect Informix org.hibernate.dialect.InformixDialect HypersonicSQL org.hibernate.dialect.HSQLDialect Ingres org.hibernate.dialect.IngresDialect Progress org.hibernate.dialect.ProgressDialect Mckoi SQL org.hibernate.dialect.MckoiDialect Interbase org.hibernate.dialect.InterbaseDialect Pointbase […]

What is the difference between JRE,JVM and JDK?


If you are a Java developer, it is very often that you think about understanding the JRE,JVM and JDK. Once if you understand these things, it would be quite easy for you to visualize things in logical manner. Also look at the picture below, that will clear all your questions about the JRE,JVM and JDK. […]

OCAJP 7 Mock Exam Questions (Java Basics)


Q 1 : Which of the following are keywords in Java programming language a) public b) static c) void d) main e) scope Q 2 : Consider the code In the above code which of the following define local variables: a) i, j only. b) sum only. c) i, j and sum. d) There are […]

Android Application Development Tutorials


Android is the most emerging mobile technology in the current scenario. If you look into the mobile application development market, more than 75% of the developers are working for the Android devices. Android is the most popular mobile operating system maintained by Google. Because of its popularity, the demand for Android developers have increased dramatically. […]

Book Review : SCJP Sun Certified Programmer for Java 6 Study Exam 310-065 Guide


If you are preparing for the SCJP / OCJP certification, then buying a good book is necessary to pass the exam with good score. In the current market situation, passing the certification becomes important for surviving in the competitive work environment. If you are a Java developer, passing the SCJP / OCJP exam provides edge […]

Book Review : Java Persistence with Hibernate


Java persistence with Hibernate is the latest edition of bestselling Hibernate in Action series. This is one of the best and most comprehensive book for learning the Hibernate framework. If you are buying this book, keep in mind that this is most exhaustive which covers most of the things what you have to learn in […]

Book Review : Spring in Action


Spring in Action is the best selling book for the Spring framework. As the name says, it is full of action packed spring related examples and good explanation for the concepts. Let’s further review this book in detail to understand what is the content inside this book. This book is intended not only for the […]

New features in JDBC 3.0


This article provides an introduction to the array of core new features available in JDBC 3.0. More specifically, the features ‘supporting save points’, ‘using parameter metadata’, ‘updating large objects’ and ‘auto generated keys’ are discussed. Wherever possible, to get a hang of it, relevant code samples have been provided in the respective sections. Download Source […]