Question: A method like tostring can be available to all objects in Java but not C++because b. Java's polymorphism is more powerful than C+t's c. Java
A method like tostring can be available to all objects in Java but not C++because b. Java's polymorphism is more powerful than C+t's c. Java has an object hierarchy tree and C++ doesn't d. Java runs on a virtual machine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
