0

This is the activity so I want to extend the JavaFX Activity class here since we can't extend two classes in java how do I extend the class next to AppCompatActivity.

public class BarchartActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_barchart);
    }
}
Jack
  • 19
  • 1
  • 5

1 Answers1

3

Java can only extends from one class, but many interfaces can be implemented

Jeka_FRI
  • 71
  • 1
  • 9