How many ways we can take input in Java?