Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED HELP ASAP! MATCHING QUESTION!! In HW1, consider the code: Video Obj o = new Video Obj(a,1900, b); Video Obj 01 = new Video Obj(a,1900,

NEED HELP ASAP! MATCHING QUESTION!!

image text in transcribed

In HW1, consider the code: Video Obj o = new Video Obj("a",1900, "b"); Video Obj 01 = new Video Obj("a",1900, "b"); Then: 01.equals(02) is true. Choose TRUE/FALSE. 1. Reflexive, Symmetric and Transitive 2. Symmetric, Transitive In HW1, consider the code: Video Obj o = new Video Obj("a", 1900, "b"); Record r = new Record("a", 1900, "b"); Record s = r.copy(); Then r.equals(s) is true. 3. NO 4. YES 5. DEPENDS Choose TRUE/FALSE 6. TRUE if x.hashCode() == y.hashCode(), then x.equals(y) is always true. 7. FALSE Choose YES/NO/DEPENDS 8. Video Obj 9. Record The immutable class in HW1 10. Inventory Set Equals method should always be: 11. Reflexive and Symmetric 00 12. Coherent comparesTo must always yield a relation that is: if x.compareTo(y) ==0, then x.equals(y) is always true. Choose YES/NO/DEPENDS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

How do manufacturing companies differ from merchandising companies?

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

Is how things are said consistent with what is said?

Answered: 1 week ago

Question

Has the priority order been provided by someone else?

Answered: 1 week ago