Solved

What Does the Following Code Snippet Do When the Animation

Question 23

Multiple Choice

What does the following code snippet do when the animation is played, given that imageView has been created? FadeTransition ftrans = new FadeTransition
(new Duration(5000) , imageView) ;
Ftrans.setFromValue(1.0) ;
Ftrans.setToValue(0.5) ;
Ftrans.play() :


A) The image will be completely opaque when displayed and will decrease to 50% opacity over the five seconds of the animation.
B) The image will be completely invisible when displayed and will increase to 50% opacity over the five seconds of the animation.
C) The image will be completely opaque when displayed and will decrease to 50% opacity over the five minutes of the animation.
D) The image will be 50% opaque when displayed and will increase to 100% over the five seconds of the animation.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions