Just paste the URL inside the brackets on the ninth line
Copy the code code as follows:
package com.meession.test;
import java.io.DataInputStream;
import java.net.URL;
public class Internet {
public static void main(String args[]){
URL myURL;
DataInputStream myURLContent;
try{
myURL=new URL("//www.VeVB.COm");
myURLContent=new DataInputStream(myURL.openStream());
while(myURLContent.readLine() != null){
String Iline=myURLContent.readLine();
System.out.println(Iline);
}
myURLContent.close();
}
catch(Exception e){
System.out.println("Error");
}
}
}