Java Archive

Java Design Patterns List

Here is the list of Java Design Patterns. I am putting all together for now, will try to add explanation and code samples shortly – Creational Patterns Abstract Factory Builder Factory Prototype Singleton Structural Patterns Adapter Bridge

Threads vs Processes

Threads and Processes helps in concurrent execution of any application. Article lists out some basic points to compare Threads vs Processes Process: an architectural construct : can affect the architecture of an application. processes are independend execution units

Object oriented concepts – Java

Q: What are basic OOPS Concepts? A: – Inheritance : When a child class acquires all the methods and properties of parent class it is called inheritance. Java supports inheritance either using classes or interfaces. Encapsulation: In above class,