题目
题目

Advanced Programming (202509-LLecture)

单项选择题

What does event.getTarget() return?

选项
A.a. The stage
B.b. The parent node
C.c. The handler instance
D.d. The node on which the event occurred
E.e. The scene object
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
To tackle this question, I’ll examine what event.getTarget() is designed to return in an event-handling context. Option a: The stage. This is incorrect because the stage represents the top-level container or root of the scene graph, not the specific source of the event. getTarget() is about the original target element, not the s......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!