- 27 December
Java ThreadPoolExecutor
Java 5 has introduced new concurrent API called Executor frameworks to make programmer life easy. It simplifies design and development of multi-thread applications. It consists of mainly Executor, ExecutorService interface and ThreadPoolExecutor class which implements both interfaces i.e. Executor and ExecutorService. ThreadPoolExecutor class provide the implementation of thread pool. We will understand more about it […]
- 23 December
Java Semaphore example
In this tutorial, we are going to see about Semaphore in java. Semaphore is a class in java.util.concurrent package introduced in JDK 5. Semaphore basically maintains a set of permits, so there are two methods which are mainly used for semaphore. acquire release acquire() method is used to get a permit and if no. of […]
- 22 December
Immutable class interview questions
In this post, I am going to share java interview questions which are generally asked on immutable class. Immutable class is important topic as it deals with creation of thread safe class. Here I am providing some important immutable class interview questions with answers. 1. What is immutable class? Answer : Immutable objects are those […]
- 21 December
How to create immutable class in java
In this tutorial, we are going to see how to create immutable class in java. Immutable class is class whose state can not be changed once created. Example: String is best example for immutable class. Once you create a String, you can not change it. Immutable class is very simple to understand, it has only […]
- 13 December
Retrofit Android Tutorial
In this tutorial, we are going to see Retrofit Android tutorial to get data from server. In previous post, we have seen android JSON parsing tutorial which was very simple. If you are not aware about Retrofit, it is android http library used to handle HTTP request.You can treat it as a replacement of AsyncTask in previous […]
- 12 December
Android JSON parsing tutorial using Volley
In this tutorial, we are going to see Android JSON parsing tutorial using Volley. In previous post, we have seen android JSON parsing tutorial which was very simple. In this tutorial, we are going to use external library Volley for sending HTTP request. You can treat it as a replacement of AsyncTask in previous tutorial. […]
- 11 December
How to pass OCPJP java certification with the help of Whizlabs
I have already shared about Whizlabs OCAJP 8 exam simulator in my previous post. I have looked further to and found it useful too, hence sharing it. OCPJP is tougher exam than OCAJP hence you will need more practice to pass it than OCAJP. What is OCPJP 8? OCPJP 8 stands for Oracle Certified Professional, Java SE 8 […]
- 10 December
Android Restful web services tutorial
In this tutorial, we are going to integrate android with restful web services which return json as response. So we are going to get json from restful web services and then render json response to android custom listview. Example : I have already implemented restful webservices json example. I am going to use same example […]
- 10 December
Introduction to AWS Certifications
In this article, I am going to write about the various AWS certifications and suitable certifications for your profile. Most of the organizations are migrating their applications to the cloud environment, which rises the demand for cloud engineers. The advantage of cloud is that you can minimize the cost and time for maintenance by 1/10 […]