Java Print Array Elements | Ways | Simple examples

There are many ways to get print Array Elements. Using a Loop statement is the most program used. Maybe some of you only knew for-loop. But in this tutorial, you will learn 3 ways to Java Print Array Content with examples. Ways to Java Print Array There are three ways to print an array. Print Read More…


Java scanner class| import | nextline, nextint, exception and examples

Java Scanner class is found in java.util package. The Scanner class is used to getting the input of the primitive data types like Strings, int, double, etc. It breaks the input using a pattern (regex), where the default regular expressions match is whitespace. This is the easiest way to get input in the java program. Read More…