java.lang.Error: Unresolved compilation problems: The public type inheritenceTry0 must be defined in its own file The public type inheritenceTry1 must be defined in its own file The public type inheritenceTry2 must be defined in its own file

Coderanch | kazi Shahin | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    beginning of Inheritance and the error

    Coderanch | 5 years ago | kazi Shahin
    java.lang.Error: Unresolved compilation problems: The public type inheritenceTry0 must be defined in its own file The public type inheritenceTry1 must be defined in its own file The public type inheritenceTry2 must be defined in its own file
  2. 0

    beginning of Inheritance and the error

    Coderanch | 5 years ago | Henry Wong
    java.lang.Error: Unresolved compilation problems: The public type inheritenceTry0 must be defined in its own file The public type inheritenceTry1 must be defined in its own file The public type inheritenceTry2 must be defined in its own file

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The public type inheritenceTry0 must be defined in its own file The public type inheritenceTry1 must be defined in its own file The public type inheritenceTry2 must be defined in its own file

      at inheritenceTry1.<init>()
    2. Unknown
      inheritenceTry.main
      1. inheritenceTry1.<init>(inheritenceTry.java:22)
      2. inheritenceTry.main(inheritenceTry.java:7)
      2 frames