CodeRefer Blog

java simpledateformat 0

Java SimpleDateFormat Example

In Java SimpleDateFormat article we’ll see how to use java.text.SimpleDateFormat class, which provides methods to format date to string or parse string to date. The SimpleDateFormat is a class which inherits java.text.DateFormat class. Creating a SimpleDateFormat Instance:...

exception handling in java 0

Exception Handling in Java

While coding, we may face few compile time errors because of incorrect syntax and those errors can be removed by re-correcting our syntax. Similarly, we may also come across Run-Time errors caused by exceptions...