Hi, IMHO the main method here is getting overloaded here .. the public static void main(String args) is not found which is the entry point of any code.. That is if you replace the name String with StringBuffer than it runs fine....or to say a Integer ... (Class loader should create a problem there also) Now on to the second point ...i think the java.lang.security exception is thrown saying that java.lang is a probhited package name...So we cant use java.lang package ...in any source file.I think if you even use java.anything than also same exception is thrown...
Correct me if i m wrong...N clarify please..
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop