1. Question: To get any input from the keyboard which package we have to include? 

    A
    import java io

    B
    import java.io.*;

    C
    import java.*;

    D
    None of the above


    1. Twitter
    2. Details
  2. Question: To get any input from the keyboard we have to include the package import java.io.* 

    A
    True

    B
    False


    1. Twitter
    2. Details
  3. Question: Take a close look at the following code. Which one will provide the addition activity?
     

    A
    class Calculator{

    public static void main(String args[]){

        adds(10,10);

    }

    public static void adds(int a, int b){

          System.out.println(a+b);
        
    }


    }

    B
    class Calculator{

    public static void main(String args[]){

        adds(10,10);

    }

    public static void adds(){

          System.out.println(a+b);
        
    }


    }

    C
    class Calculator{

    public static void main(String args[]){

        adds(10,10);

    }



    }

    D
    None of the above


    1. Twitter
    2. Details