Pele el Netbeans e intente hacer mi primer programa en Java , un simple resolve ip.
El codigo
/**
* ResolveIP 0.1
* Coded By Doddy H
*/
import java.util.Scanner;
import java.net.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
String target;
Scanner host = new Scanner(System.in);
System.out.println("\n\n-- == ResolveIP 0.1 == --\n\n");
System.out.println("[+] Hostname : ");
target = host.nextLine();
try {
InetAddress ip = InetAddress.getByName(target);
System.out.println("\n[+] IP : " + ip.getHostAddress());
}catch(UnknownHostException e){
System.out.println("\n[-] Error");
}
System.out.println("\n\n-- == Coded By Doddy H == --");
}
}
/**
* The End ?
*/
tambien lo hiciste en Java, jajaj valla tio gracias.
me parecio lo mas facil para empezar.