Answered step by step
Verified Expert Solution
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 +
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;i
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started