Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Default Access Modifier package one

// Java program to illustrate default modifier
package one;
 
// Class first is having Default access modifier
class First
{
    void display()
    {
        System.out.println("Welcome to softhunt.net");
    }
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Java #Default #Access #Modifier #package
ADD COMMENT
Topic
Name
6+5 =