Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

no apparent reason?

apparent
0
Posted

no apparent reason?

0

[*] JDK 1.0 has a limit of 63 words of storage for local variables in any method. longs and doubles require two words of storage, and all other primitive types and all reference types require one word. If you assign values to more than 63 words of local variables, you will get a “Statement not reached” error on the statement after you assign to the variable that contains the 64th word. In JDK 1.1, the low limit was removed. 3. (Sect. 5) class MyOrdinaryClass must be declared abstract. It does not define void actionPerformed(java.awt.event.ActionEvent) [*] This is one of those error messages where the compiler tries to guess what you meant, and gives you a message based on a wrong guess! So the message is confusing. Your MyOrdinaryClass class implements ActionListener, which means you must include a definition of the methods from the ActionListener interface. But you did not. You either left a method out, or (more likely) you misspelled its name. Perhaps you wrote “ActionListener” inste

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.