Answers for "what is a default access modifier"

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 "what is a default access modifier"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language