True/False Questions for Introduction to Data Structures

  • 1 In Java, boolean and byte are primitive datatypes False View Answer

  • 2 The equality operator, if(cp1 == cp2) when applied to objects, tells you whether two references are identical i.e. whether they refer to the same object: True View Answer

  • 3 In Java, the statement obj2 = obj1; copies the memory address that obj1 refers to into obj2. Both obj1 and obj2 now refer to exactly the same object. True View Answer

  • 4 In C++, the statement obj2 = obj1; copies all the data from an object called obj1 into a different object called obj2. True View Answer

  • 5 Java doesn’t use pointers like C++. True View Answer

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert