Answers for "class access modifiers default"

0

default access modifiers

package p1;
 
//Class Course is having Default access modifier
 
class Course{
 
void display()
 
{
System.out.println("Hello World!");
 
}
 
}
Posted by: Guest on August-17-2021

Code answers related to "class access modifiers default"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language