and c2 are two instances of the java class Car. What will happen when executing the be ere are no syntax and compile err
Posted: Thu Jul 14, 2022 2:28 pm
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