2. Consider the following class diagram. Which are the legal statements and which are the illegal. Explain why they are
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
2. Consider the following class diagram. Which are the legal statements and which are the illegal. Explain why they are
2. Consider the following class diagram. Which are the legal statements and which are the illegal. Explain why they are legal or illegal. (1 marks) (a) m=t (b) x=0 M (c) Ort (d) o=m х D) Write a code for equals method which tests the reference equality var1 =var2. (var 1 and var 2 are referring the same object). (1 Mark)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!