Question: HIneed help for question 5 6 c) (5 points) ( from #3 on previous page) Draw the UML Class diagram (same one that you see

 HIneed help for question 5 6 c) (5 points) ( from

HIneed help for question 5 6

c) (5 points) ( from #3 on previous page) Draw the UML Class diagram (same one that you see in the BlueJ main window) that relates all classes in this project. Show arrows to 5) (15 points) write a method to which is passed positive integer argument. The program displays the output below for the various values of argument a. No comments or isput validation are required. 7 4) Answer True or False for each question. (2 points each) a) Client classes can only use the public methods and instance variables of a supplier True False 6) Give short answers. a) (2 points) Object-oriented programs combine properties and behaviors that model the real world. Explain how you do that in Java. class. b) In the expression ClassName.method), methodO must be static. True/ False c) An object reference is really the address where the object itself is stored in the True /False computer's memory b) (2 points) What is a pre-condition for a method? Also give one example. d) A special value used in an input stream to indicate termination is called a sentinel. True /False e) Theoperator will always be evaluated before the &&operator if there are no c) (2 points) Put the steps of the software development cyele into the corect order: testing planning documentation coding analysis True/False parentheses in the expression. O The boolean expression (a && b) is equivalent to ( a l| b). g) If object A has a reference to object B, it can execute any of the public methods True/ False True/False defined in Class B. d) (2 points) what is the difference between a static (class) method and an instance method? True /False h) Every decision structure could be implemented with some kind of if else-if else structure. True / False e) (2 points) What is an alias? What is an orphan? What is automatic garbage collection? 1) If Class A has an instance variable of Class B, then Class A is the client class. True /False j) The UML diagram shows objects that are instantiated by code execution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!