Java SimpleDateFormat – Formatting Dates

SimpleDateFormat is a Java class that allows you to format dates.   Converting dates in en-US (United States) format to pt-BR (Brazilian) format:   package com.masterdaweb.blog; import java.text.ParseException; import java.text.SimpleDateFormat;…

Method overloading in Java

In Java you can declare methods with the same name in a class, but each method must contain different sets of parameters. In other words, this is called Method Overloading.…