Your browser does not support JavaScript!

Which of the following show casting object?

  • (className)     object;
  • Employee emp = new Employee(); VicePresident veep = new VicePresident(); veep = (VicePresident)emp;
  • SuperClass sc = new SuperClass(); SubClass sbc = new SubClass(); sbc = (SubClass) sc;
  • All of the choices Correct
Similar ITE-6104 questions