Online Java Compiler By
JavaTpoint.com
//import statements..... package Class; import java.security.ProtectionDomain; public class ClassgetProtectionDomainExample2 { public static void main(String... args) { Class
obj = ClassgetProtectionDomainExample2.class; ProtectionDomain pdmn = obj.getProtectionDomain(); System.out.println(pdmn); } }
Output