class HELLO{ public static void main(String k[]){ System.out.println("hello \"RAGHAVENDRA\" "); int a=25; float f= 2.5F ; long l=1818181816767678L; } }
class raghav{ public static void main(String k[]){ System.out.println("hello...."); } } for compling use javac filename to run give : java CLASSNAME if you give java filename when you are running error:could not find or load the main class
Comments
Post a Comment