Answer the following statements true (T) or false (F)
1. JavaFX components are thread safe.
2. (Advanced) Declaring a method synchronized guarantees that deadlock cannot occur.
3.(Advanced) Once a ReentrantLock has been obtained by a thread, the ReentrantLock
object will not allow another thread to obtain the lock until the first thread releases it.
1. False. JavaFX components are not thread safe. All interactions with JavaFX controls should be performed in the JavaFX application thread.
2. False. Deadlocks can occur if the lock on an object is never released
3. True
You might also like to view...
Match the following data types and properties to their description
I. Attachment data type II. Hyperlink data type III. OLE Object data type IV. Legacy data type V. Universal naming convention A. An address that specifies a protocol B. Uses the syntax \\server\share\path\filename C. Old or outdated data type D. Increases the size of your database E. Creates a bitmap
The easiest way to move a graphic to another location already visible on the screen is with Drag and Drop
Indicate whether the statement is true or false