Solved

What Can Be Determined About Obj from the Code Below

Question 52

Multiple Choice

What can be determined about obj from the code below?
JMenuItem menuItem = new JMenuItem("Exit") ;
menuItem.addActionListener(obj) ;


A) The class of obj implements ActionListener
B) menuItem implements ActionListener
C) obj is of type MenuListener
D) obj is an object of an inner class

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents