Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Protected Access Modifier package one

// Java program to illustrate
 protected modifier
package one;

// Class A
public class A
{
protected void display()
	{
		System.out.println("Welcome to softhunt.net");
	}
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Java #Protected #Access #Modifier #package
ADD COMMENT
Topic
Name
2+5 =