Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following Class Diagram Question 2 Not yet answered Marked out of 5.00 Customer Flag question Order 1 0-.. + name + address +

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Consider the following Class Diagram Question 2 Not yet answered Marked out of 5.00 Customer Flag question Order 1 0-.. + name + address + date + status + Customer + editinfo Payment + clac Tax() + calc Total + calcTotalWeight + amount 1 Order Detail + quality + taxStatus + calc SubTotal + calcWeight Credit 02- Cash Check + cash Tend + number + type + expDate + nanne + bankid Item authorized + shipWight + description #authorized getPriceld + getWeight Suppose that the customer address is only for ordering and we need to add another address that he/she uses for payements. In which class we have to add it? Select one: Oorder 0 order detail Customer @ item O Cash, Credit Check O Payment Question 3 Not yet answered For a multi client/server communication a thread is created to handle the communication with each user, the used code is the following new Thread( ( -> { try { Marked out of 6.00 F Flag question out.append("Server started "); ss = new ServerSocket (6666); int counter = 0; while (true) { y/out.append("Server is listining .." + " "); S = ss.accept(); //establishes connection counter++; out.append(">>" + "Client No:" + counter + HandleClient hc = new HandleClient (s, counter); new Thread (hc).start(); started!"); } } catch (Exception e) { System.out.println(e); }).start(); Select the correct statements in the following. (more than one answer may be correct) Select one or more: HandleClient thread includes accepting the connection with the client. HandleClient thread includes reading the messages from the client, HandleClient thread includes creating a server socket to start the server. HandleClient thread includes writing the messages to the client. What is this figure? Question 4 Not yet answered Marked out of 3.00 P Flag question Select one: O a. Goal O b. Behaviour C Actor O d. Communication Question 5 Not yet answered Marked out of 4.00 Flag Question Consider the following code: public Double FinalQuestion { Double sum=0.0, for (int i=0;i2>3>4>5>6>7>8>9> 12 a correct message sequence? Select one: True False

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Describe the linkages between HRM and strategy formulation. page 74

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

Derive expressions for the rates of forward and reverse reactions?

Answered: 1 week ago

Question

Write an expression for half-life and explain it with a diagram.

Answered: 1 week ago

Question

7. Where Do We Begin?

Answered: 1 week ago

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago