AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
Which of the following show ca...
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
Which of the following will do implicit cast?
What do you call a blueprint of an object?
What is the result if we execute this: "a".equals("a");?
What is the result if we execute this: "a" instanceof String; ?
Which of the following is the correct way to call the constructor of the parent class?
Which of the following class declaration is not allowed to be instantiated?