Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.lang.Math; // headers MUST be above the first class
  2. import java.net.URL;
  3.  
  4. // one class needs to have a main() method
  5. public class HelloWorld
  6. {
  7. // arguments are passed using the text field below this editor
  8. public static void main(String[] args)
  9. {
  10. try {
  11. System.out.print(new URL("https://example.com%23@qwer.porkylol.com/cancer/whyisthis/happening").getHost());
  12. } catch (Exception e) {}
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement