You must write the main like that:
public static void main(String args[])
{
try
{
System.in.read();
}
catch (IOException e)
{
}
}
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Exception HandlingThreaded View
|
Click Here to Expand Forum to Full Width |