home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Java Code Help

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1878
Discussions: 200,923, Posts: 2,379,092, Members: 246,290
Old November 1st, 2009, 09:39 PM   Digg it!   #1 (permalink)
Junior 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 ?
abalasuriya is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asking for help with java code..... lostgoat Webmastering and Programming 2 July 14th, 2009 03:14 PM
Java Code mstabiggzlilmama Applications and Operating Systems 0 November 19th, 2008 03:38 PM
Can someone help me with this Java Code? quantumlight Webmastering and Programming 4 November 9th, 2008 04:02 PM
HELP WITH SIMPLE JAVA CODE---PLEASE HELP orcdba Applications and Operating Systems 2 November 8th, 2008 05:11 AM
Need help with some Java Code :P Soheils91 General Tech Discussion 2 October 20th, 2004 08:57 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2854)
Obama the Muslim (13)
Why is Khalid Sheikh Mohammed even .. (9)
Is the PSU I received dead? (10)
windows vista security holes (8)
Foreign voltage (10)
Print spooler problem (13)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (9)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
Fire in DVD (0)
radeon x850xt platinum & shader 3 (2)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
windows vista security holes (8)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
Install XP pro and a Vista laptop ?? (9)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Problem with speed step/turbo boost? (1)
Modern Warfare 2: Who Bought It? (61)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)


All times are GMT -4. The time now is 09:53 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28