Sometimes instantiate a class might be harder with constructor than using builder pattern. Like StringBuilder we might want to construct our object with simple methods. And this is called…

Sometimes instantiate a class might be harder with constructor than using builder pattern. Like StringBuilder we might want to construct our object with simple methods. And this is called…
Like function pointers in C , we have a powerful tool in Java. We can easily extend our application by using this powerfull tools in Java. For instance, let…
I’d like to share sample implementations for subjects that is explained here http://tutorials.jenkov.com/java-util-concurrent/index.html you can have check it out on my public repo
SOLID Desing Principles (S) : Single Responsibility Principle: A class should be responsible for one thing, for example, if a person class responsible for holding the property of a…
Hello folks, first of all why we use Coretto 11, simply because it’s improved version of OpenJDK and it is run by Amazon. Amazon did some changes to improve…
Hello fellas, today I’d like to share with you the information on how to implement an Android Service that runs on background tasks. We use the startService method of…
Hello folks, today we are gonna see how pointer arithmetic actually is and how we can use pointers in our simple program. I’ve implemented a simple array print function…
In this part we will see how we can open threads and sync them with Python Threading and Multiprocessing Libraries. To open thread we can use threading library as…
Hello folks, as many of you already know there is a super behavioral pattern called observer pattern. Some times it’s called producer/consumer pattern also. So I’ve implemented event based…
Inner class means one class which is a member of another class. There are basically four types of inner classes in java. 1) Nested Inner class 2) Method Local…