Java Language Fundamental - Quiz

  • Aweakly typed
  • Bstrogly typed
  • Cmoderate typed
  • D None of these
  • Aclass, if, void, long, Int, continue
  • Bgoto, instanceof, native, finally, default, throws
  • Ctry, virtual, throw, final, volatile, transient
  • D strictfp, constant, super, implements, do
  • AArray a = new Array(5);
  • Bint [] a = {23,22,21,20,19};
  • Cint a [] = new int[5];
  • Dint [5] array;
  • Apublic double methoda();
  • Bpublic final double methoda();
  • Cstatic void methoda(double d1);
  • Dprotected void methoda(double d1);
  • ANo, Multiple exceptions cannot be handled in a single block
  • BYes, likeexcept [ NameError, SyntaxError, ...]
  • CYes, likeexcept NameError, SyntaxError, …
  • DYes, likeexcept ( NameError, SyntaxError, ...)