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
Q30: Which mouse event occurs when the user
Q31: Which transition class causes a node to
Q32: Select all that apply. Which of the
Q33: What does the following code snippet do
Q34: Select all that apply. Which of the
Q35: Select all that apply. Which of the
Q37: Which of the following statements draws the
Q38: To combine several effects, use the Effect
Q39: Select all that apply. Which of the
Q40: Select all that apply. Which of the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents