Solved

What Can Be Determined About Obj from the Code Below

Question 25

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