Multiple Choice
Which of the following code snippets creates a Line and uses a RotateTransition object to animate it for seven seconds?
A) Line myLine = new Line(25, 50, 100, 50) ;
RotateTransition rtrans =
New RotateTransition(new Duration(7000) , myLine) ;
B) Line myLine = new Line(25, 50, 100, 50) ;
RotateTransition rtrans =
New RotateTransition(new Duration(7) , myLine) ;
C) Line myLine = new Line(25, 50, 100, 50) ;
RotateTransition rtrans =
New Duration(7000) , myLine;
D) Line myLine = new Line(25, 50) ;
RotateTransition rtrans =
New RotateTransition(new Duration(7000) , Line) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q30: To make a node half its original
Q31: Which effect class do you use to
Q32: In a window that is 640px wide
Q33: Which class creates an animation in which
Q34: Which of the following import statements must
Q35: Select all that apply. Which of the
Q37: Which mouse event occurs when the user
Q38: What does the following code snippet do?
Q39: The _ class is used to move
Q40: The FillTransition class works only with objects