Tag: programming languages

Questions Related to programming languages

  1. 8 data types

  2. 7 data types

  3. 16 data types

  4. No special data types


Correct Option: D
  1. Push and unshift

  2. Push and shift

  3. Pop and push

  4. Shift and unshift


Correct Option: A
  1. Powerful Encryption and Report Language

  2. Practical Extraction and Report Language

  3. Practical Emotional and Rational Language

  4. Powerful Execution and Riding Language


Correct Option: B
  1. int bMethod(int i) throws IOException{...}

  2. protected int bMethod(short s) throws FileNotFoundException{...}

  3. private String aMethod(byte b,short s) throws Exception{...}

  4. char bMethod(String s) throws RuntimeException{...}

  5. int bMethod(short sh){...}


Correct Option: A,D
  1. for(int i=10;i>0;i-=-2);

  2. for(int i=0;i<012;i=i++);

  3. for(int i=0;i<0;i--);

  4. for(int i=0;(i++^--i)==0;i++);

  5. for(int i=010;i==10;i+=0);


Correct Option: B,D