PROBLEM: When the class name and the filename of a given Java program doesn’t match then we will get this error. Considering an example where the file is named as…
android studio class is public should be declared in a file named
1 Article
1