Error:
It gives me ArrayIndexOutOfBoundException
at location Url url = new Url(args[0]);
what should I do?
Type: Posts; User: istikharaza
Error:
It gives me ArrayIndexOutOfBoundException
at location Url url = new Url(args[0]);
what should I do?
No, I don't have any Q.
// File Name : URLDemo.java
import java.net.*;
import java.io.*;
public class URLDemo
{
public static void main(String[] args)
{
try {
URL url =new URL(args[0]); ...
public class PingPong2 implements Runnable
{
private String Ping;
private int delay;
public PingPong2(String a, int b)
{
Ping=a;
delay=b;
}