Course Solutions Uncategorized (Solved) : 1questions 1 10 Uses Following Class Diagram Couponforpizza Data Fields Preceded Tildes Q27275654 . . . .

(Solved) : 1questions 1 10 Uses Following Class Diagram Couponforpizza Data Fields Preceded Tildes Q27275654 . . . .

 

1.Questions 1 – 10 uses the following Class Diagram:

Customer Oide Pizza cL.pnce Real [1] ·shape:Shape pl E name String /1 덟 . Phonelinber Integer 111 ardedD:Integer Circle -radius Rell Q height印ouble [1] -Coupon

CouponForPizza data fields are preceded by tildes ~.

getArea method for Shape class is in italics.

Which of the following would be the class declaration forShape?

a.

public class Shape { …}

b.

public abstract Shape { … }

c.

public final Shape {… }   

d.

class Shape {….}

1 points   

QUESTION 2

Which of the following would be the declaration for thename data field within the Shape class ?

a.

private Stringname;       

b.

abstract String name;

c.

String name;

d.

protected String name;

1

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post