Skip to main content

Featured

Game Development Tutorials In Android

Game Development Tutorials In Android Hi Guys,                 We are shortly started Game Development Tutorials in Android Studio. So everyone supports me and share this blogs to your friends. Guys, At this time everyone is freely available to source code and we are provide a video for step by step game developments. you are learn free and feel free to support us. Guys, if you have any question to me, so feel free to comment us. I will try to answer all the question as long as possible.                                                     Thank's                                                                          ...

Scanner Test In Java

Scanner Test In Java



In this Example, we will discuss an important chapter of Java, Scanner test but Before we can start to make the Scanner Test Program, click on the Advertisements , available on this page.


import java.util.*; 

public class Scannertest 
{     
    public static void main(String[] args) 
    { 
        Scanner scanner =  new Scanner("1,2,3,4,5,6,7,8,9,10").useDelimiter(","); 

        while (scanner.hasNextInt()) { 
            int num = scanner.nextInt(); 
             
            if (num % 2 == 0) 
                System.out.println(num); 
        } 
    } 
}

Compile And Run On This Program for better understanding....

If this information is important to you , and you want to , I will continue writing some more details of Java, Android Programming Language, so click on the advertising, available on this page. This is motivate me for writing some more useful stuff, Thank's 

Comments