Nested classes

webmasterbeta

New Member
I have a java class file that has all of the objects and methods I need.Let's call it BigDaddy.class. I want to extend another class from BigDaddyand override one object and one method. I will call this new class LittleSon.My question has to do with creating the proper relationship between the twoclasses so I can use all the functionality of BigDaddy. I want to use thefollowing line of code.class LittleSon extends BigDaddy implements Runnable {The problem is this is an applet and the line should beclass LittleSon extends Applet immplements Runnable{DO I have to nest LittleSon inside BigDaddy to get the relationship? Ifso what is the code to nest these two?Or can I use the extend line without the class Applet?
 
Back
Top