-
Here are some of the git commands that I most often use are presented here with use cases. This is not an exhaustive list of git commands. Branch renaming git branch renaming options -m -> move/rename branch (fails if...
-
Java is a verbose programming language when compared to Python, Kotlin. For instance, to write a POJO we might have to add accessors, mutators explicitly. This is good if the class has less number of fields. Otherwise, adding them...
-
Maven dependency scopes defines the scope/boundary/availability of the dependency at various contexts like compile, test, and run. There are 6 scopes. compile Default scope of dependencies in Maven. Available at compile time and runtime. When preparing self-contained fat jar,...
-
It’s a creational design pattern in which related products are grouped together whose behavior depends on their family, and the family factories creates objects of those related products. Purpose: Similar purpose as Factory Pattern i.e., program to interface, not...
-
It’s a Creational design pattern that focuses on object creation process wherein creating product objects is the responsibility of the respective creators. There are 2 parallel class hierarchies defined in this pattern i.e., products and creators/factories. Purpose: Program to...