Java Constructor and Methods - Quiz

  • Areference variables
  • B objects
  • C instance variables
  • DNone of these
  • A It can be accessed easily by the class loader.
  • BIt can be accessed by every method or variable without any hindrance.
  • CIt can be executed without creating any instance of the class.
  • DNone of the above
  • Avoid atnyla() {} throws IOException
  • Bvoid atnyla() throws IOException{}
  • Cvoid atnyla() throw IOException{}
  • Dvoid atnyla(void) throws IOException{}