Month: February 2017

WatchService in Java with example program

WatchService in Java with example program Java 7 added a new feature to its NIO package called Watch Service API which allows applications to monitor a [...]

FizzBuzz game program in Java

FizzBuzz game program in Java FizzBuzz is a fun game played by school children. Players take turns to count numbers incrementally. The rules are simple: if [...]

Introduction to Google Guice framework in Java

Introduction to Google Guice framework in Java This post is an introduction to Google Guice framework in Java. Guice (pronounced ‘juice’) is a [...]

PipedInputStream and PipedOutputStream in Java with example

PipedInputStream and PipedOutputStream in Java with example A piped I/O is based on the producer-consumer pattern, where the producer produces data and the [...]

PipedReader and PipedWriter in Java with example

PipedReader and PipedWriter in Java with example A pipe connects an input stream and an output stream. A piped I/O is based on the producer-consumer pattern, [...]

BitSet class in Java with example program

BitSet class in Java with example program In this post we will learn about BitSet class in Java with example programs. BitSet is a convenient class for bit [...]

Frequently asked Spring Core interview questions and answers

Frequently asked Spring Core interview questions and answers Spring Framework is one of the most popular Java EE framework for web applications. Nowadays now [...]

Books to learn REST and RESTful Web Services for Java developers

Books to learn REST and RESTful Web Services for Java developers Java is one of the most popular languages to develop back-end services. Most of the [...]

Java program to find the largest and smallest number

Java program to find the largest and smallest number Write a Java program to find the largest and smallest number is one of the commonly asked Java coding [...]