1.

Objects type ____________________(a) Can be changed in runtime(b) Can’t be changed in runtime(c) Can be changed in compile time(d) May or may not get changedI had been asked this question in examination.The question is from Object Use topic in division Object of Object Oriented Programming

Answer»

The correct option is (b) Can’t be CHANGED in runtime

Best EXPLANATION: The object TYPES are always FIXED. Once the object is created of a SPECIFIC type then it can’t be changed. Neither at runtime nor at compile time.



Discussion

No Comment Found

Related InterviewSolutions