and c2 are two instances of the java class Car. What will happen when executing the be ere are no syntax and compile err
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
and c2 are two instances of the java class Car. What will happen when executing the be ere are no syntax and compile err
and c2 are two instances of the java class Car. What will happen when executing the be ere are no syntax and compile errors)? 1and c2 will assigned with the same value eck both the objects hold the same data value and return true if yes tes to true only if c1 and c2 point to the same object ompatible data types, hence will not run
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!