How to create Null Object Pattern in Java
How to create Null Object Pattern in Java. Simple example using object and null object class implementation.
How to create Abstract Factory Pattern in Java
How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.
How to create Factory Pattern in Java
How to create a factory design pattern in Java using the example of creating a database table for multiple database engines.
How to execute method using reflection in Java
How to execute method using reflection in Java. Example with all cases, with/without parameters and returning/no returning a value.
How to create object using reflection in Java
How to create an object using reflection in Java. Simple examples for both situations provided: with parameters or without parameters.
How to convert String to double in Java
How to convert String to double in Java using Double.parseDouble and Double.valueOf methods. Simple example provided.