Tag: programming languages

Questions Related to programming languages

  1. short myshort = 99S;

  2. String name = 'Excellent tutorial Mr Green';

  3. char c = 17c;

  4. int z = 015;


Correct Option: D
  1. public

  2. private

  3. friendly

  4. transient


Correct Option: A,B,D
  1. to get to access hardware that Java does not know about

  2. to define a new data type such as an unsigned integer

  3. to write optimised code for performance in a language such as C/C++

  4. to overcome the limitation of the private scope of the method


Correct Option: A,C