i have 2 classes, both extends JFrame element. i want the Integrity class to be a subclass to Security class so i can call a data member which in integrity class using package but how i can extend in integrity class as its already have extends JFrame?
can it be twice of extends?
public class Security extends JFrame implements ActionListener{
}
public class Integrity extends JFrame implements ActionListener{
}
hopefully somebody help me