Predicate Interface (Java 8 )

The Functional Interface, PREDICATE is defined in the java.util.Function package.It improves manageability of code and helps in unit-testing them separately. Syntxa Interface Predicate<T> Interface Methods boolean test(T t) It evaluates this predicate on th...
Read More

Java Inner Classes

In This blog i am explaining about the java inner classes .What is java inner classes,different types of inner classes and how we can declare a anonymous inner classes with simple example i am explaining now.
Read More

Java NIO Package

java.nio package is provided as part of J2SE 1.4.  Previously we have java.io package, on the top of it sun has provided java.nio package with some extended features like non-blocking and buffer oriented programming.
Read More

Java Mail Api

Java Mail api is provided as part of javax.mail package. It provides the support for sending the email using java program. How the classes provided by this api can be used to send the mail is given as part of this blog. A sample example also has been attached as part of the attachment.
Read More

Threads in java

This blog i am explaining about the thread.what is the thread ,how many ways we can create a thread ,which methods are there for getting a thread name ,priorities and life cycle  with a sample example explaining.
Read More