luciddream
Programmer
can someone show me how to use this class?
i try to make a new HttpURLConnection, which, atleast in my mind seems like a logical thing to do. on the other havd, javac doesn't seem to think it's as good of an idea as i do. it's telling me that it's an abstract class and can't be instantiated. alright, so, i'm supposed to use it's methods without creating a new object, fine. how do i do so? and why in the java.net documentation does it tell me that about the constructor and its parameter the url? any help will be appreciated.
i try to make a new HttpURLConnection, which, atleast in my mind seems like a logical thing to do. on the other havd, javac doesn't seem to think it's as good of an idea as i do. it's telling me that it's an abstract class and can't be instantiated. alright, so, i'm supposed to use it's methods without creating a new object, fine. how do i do so? and why in the java.net documentation does it tell me that about the constructor and its parameter the url? any help will be appreciated.