Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1-1-2 need help with these questions in java: answwer the following questions: 2

ID: 3822039 • Letter: 1

Question

1-1-2 need help with these questions in java:

answwer the following questions:

23. true or false?: Remote objects cannot be inserted into a HashSet because any method call on a remote object can result in a RemoteException being thrown, but the equals()and hashCode() methods are not allowed to throw exceptions.

25. Select the statements which are benefits of using CSS to style a JavaFX applications(can be more than 1)

a. application style can be modified without recompiling

b. it makes use of a widely adopted technology/language

c. it results in faster application run times

d. it allows the positions of interface elements to be specified in HTML

e. it allows professional designers who may not be Java developers to handle application look and feel

26. Describe how the Model-View-Controller paradigm relates to JavaFX GUIs, specifically to the Java+FXML+CSS approach covered in the course text and discussed in class. Be sure to describe how each aspect of the paradigm relates to different aspects or components of JavaFX. If it aids your answer, feel free to describe a real or fictional application that exhibits the required aspects, behaviors, and components and compose your answer from the perspective of that application.

(This is meant to require a thorough, 1-2 paragraph, answer.)

29. Understanding how both JDBC and RMI work, please compare and contrast the two. Your response should include what you think are the key similarities as well as the key differences. Remember to consider how the various access mechanisms for each work as well as how exceptional conditions might manifest themselves. Be thorough, detailed, and original with your response.

(This is meant to require a thorough, 1-2 paragraph, answer.)

Explanation / Answer

24)we can say this is True.I will split this question gave you some explanation.
Remote objects cannot be inserted into a HashSet because RemoteException is thrown when a remote method invocation fails.
We can say remote method invocation fails example is unable to reach server etc.
And the second is about the equals()and hashCode() methods are not allowed to throw exceptions.Generally, equals method must have checked for nullity.
And when the object is created it is creators responsibility to make sure that the object is an invalid state. by this, we can say it doesn't throw an exception.
so hashCode would never have to throw an exception.


25) The statements a,b,e are true.