Enum examples in Java
Enum examples in Java. Simple enum usage. How to convert String to Enum object. Enum object with fields and methods.
How to convert Char to String in Java
How to convert Char to String in Java using String.valueOf
and Character.toString
method.
How to convert Char Array to String in Java
How to convert Char Array to String in Java. Two simple examples: using String constructor or static valueOf method
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 convert String to double in Java
How to convert String to double in Java using Double.parseDouble and Double.valueOf methods. Simple example provided.
How to convert String to float in Java
How to convert String to float in Java using Float.parseFloat and Float.valueOf methods. Simple example provided.
Search
Other Posts
Follow Us On