Thread: Java Code Help
-
November 1st, 2009, 09:39 PM #1Junior Member
- Join Date
- Nov 2009
- Posts
- 1
Java Code Help
public class Outer {
void method (){System.out.println("Outer");}
class Inner {Inner in = new Inner();
void method (){System.out.println("Inner");}
}
public static void main(String[] args) {
Outer out = new Outer();
new Outer().new Inner().method();
}
}
This Results Run Time Exception why ?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
HELP WITH SIMPLE JAVA CODE---PLEASE HELP
By orcdba in forum Applications and Operating SystemsReplies: 3Last Post: April 8th, 2011, 05:22 AM -
Asking for help with java code.....
By lostgoat in forum Webmastering and ProgrammingReplies: 2Last Post: July 14th, 2009, 02:14 PM -
Java Code
By mstabiggzlilmama in forum Applications and Operating SystemsReplies: 0Last Post: November 19th, 2008, 03:38 PM -
Can someone help me with this Java Code?
By quantumlight in forum Webmastering and ProgrammingReplies: 4Last Post: November 9th, 2008, 04:02 PM -
Need help with some Java Code :P
By Soheils91 in forum General Tech DiscussionReplies: 2Last Post: October 20th, 2004, 07:57 PM



LinkBack URL
About LinkBacks



Reply With Quote

Watch Fast and Furious Movie Online Watch Fast and Furious Movie Online Watch Fast and Furious Movie Online Because what is the rationalization for the ocean than it's twelve bit series...
Watch Fast and Furious Movie...