Differences between Java and kotlin access modifiers modifiers th> Java th> Kotlin th> tr> public td> all kind of visible td> all kind of visible (the default) td> tr> private td> current class visible td> current class visible td> tr> prote Cted td> the current class, subclass, class is visible under the same package path td> the current class, subclass visible td> tr> default td> class visible (the default) under the same package path td> no td> tr> internal td> no td> class is visible in the same module td> tr> tbody> table> Read More: Access characteristics of construction methods in Java inheritance Java gets the type t.class of generic t Error: Could not find or load main class *** Some problems encountered by Android Aidl Could not find or load main class import org.junit.Test And @ test error reporting — solutions How to Fix stack overflow error Initialization order of Java objects non-static variable this cannot be referenced from a static context The method of Java jumping out of loop Struts 2 encapsulates form data into list and map sets Abstract precautions Realization of springboot authorization verification technology based on JWT java.lang.UnsupportedOperationException resolvent Implement Set using Array. Macro generated_ UCLASS_ Body () and generated_ Analysis of body () Quick solution org.gradle.api . tasks.TaskExecutionException : Execution failed for task ‘: app:compileJava ‘ class.getResource () and ClassLoader.getResource How to fill in the parameters in () Javabinder: Java uses the same event listener for the same type of component Post navigation ← Su – MySQL switch user, display error: resource temporarily unavailable Command prompt window prompt system error 5, access denied? →