The final exam coding project consists of five projects(RocketDAL, RocketBLL, Ro
ID: 3841290 • Letter: T
Question
The final exam coding project consists of five projects(RocketDAL, RocketBLL, RocketJabber, RocketServer, RocketClient). What is this programming approach named? Why do we use it? A LinkedBlockingOueue (LBQ) is a bounded queue and a PriorityBlockingOueue (PBQ) is an unbounded queue? What's the difference? What's the difference between java.util.ArrayList and java, util, Vector? What is the purpose of the @FXML notation in a JavaFX controller file? Is it required? Consider the following method in a JavaFX controller file: @FXML public void btnCalculatePayment (ActionEvent event) This is the method called by pressing the button 'Calculate'. Why do we pass in 'ActionEvent'? What was the purpose of adding the following dependency in RocketBLL? What does Maven do when it sees this dependency? org.apache.poi poi 3.12Explanation / Answer
47) It is called modular programming.Here, the main project is divided into various modules like client side one module project and server side one. So,it would be easy to identify which function is used for what and it is also would be easy for working in parralel manner and also debug the error incase any error occur.
48)
LinkedBlockingQueue is bounded queue and PriorityblockingQueue is unbounded queue because in linkedBlockingQueue ,the method behavior is fixed i.e selected by user which means ,the method behaviour is bounded to certain manner whereas in PriorityBlockingQueue ,the method behaviour is not fixed as methods behaviour is based on priority due to which at a particular we can't determine what is method behaviour due to which is unbounded queue
49)
the main difference between jaav.util.arraylist and java.util.vector are:-
firstly vectors are synchronized and whereas arraylist are not due to which arraylist are used in singlethreading and whereas vectors are used mostly in multithreading.And ,secondly there is difference is data growth because vectors doubles of its size when maximum breaches and arraylist increases its array size by 50 percent
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.