Test Driven Development in Java

java-thumbnail

Introduction Test driven development a software development methodology which ensure at an early stage that the code written by the developer is what it is supposed to do, which eventually improves the design, produces testable code and reduces the amount of re-engineering that would have been necessary because of the wrong assumptions. Test Driven Development […]

Treating POJOs like POGOs

java-thumbnail

This article is based on Making Java Groovyand the book will release on January 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) ebooks and pbooks. MEAPs are sold exclusively through Manning.com. All print book purchases include an ebook free of charge. When mobile formats become […]

What is Broad Assertion in Unit Testing in Java?

java-thumbnail

This article is based on Unit Testing in Java, to be published on Fall 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) ebooks and pbooks. MEAPs are sold exclusively through Manning.com. All print book purchases include an ebook free of charge. When mobile formats become available all […]

Java Database Application with Apache Velocity

java-thumbnail

Java Database Application with Apache Velocity Introduction to Apache Velocity Please Refer the article Spring with Apache Velocity also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials Introduction to JDBC JDBC stands for Java DataBase Connectivity. The JDBC API helps us to develop Java applications with data base connection. We […]

Java Threads Interview Questions

Java Threads Interview Questions – 1 1)What is threaded programming and when is it used? Threaded programming is normally used when a program is required to do more than one task at the same time. Threading is often used in applications with graphical user interfaces; a new thread may be created to do some processor-intensive […]

Java Interview Questions

interview questions

This article lists over 200+ questions for the Java interview. These questions are most frequently asked by the Java interviewers. If you are preparing for the Core java interview, this questions will be much helpful to understand the nature of questions. Note that this preparations would be very much suitable for the beginners and the […]

Overriding the toString() method in Object class

java-thumbnail

The toString() method in the Object class is used to display some information regarding any object. If any code needs some information of an object of a class, then it can get it by using this method. The toString() method of an object gets invoked automatically, when an object reference is passed in the System.out.println() […]

HashCode and equals methods

java-thumbnail

HashTable, HashMap and HashSet are the Collection classes in java.util package that make use of hashing algorithm to store objects. In all these Collection classes except HashSet, objects are stored as key-value pairs. For the storage and the retrieval of any user-defined objects it is a good practice to override the following methods which is […]

Close
Please support the site
By clicking any of these buttons you help our site to get better