Posted By:
sabu_vs
Posted On:
Sunday, November 25, 2001 08:45 PM
Hi I have a class that use another class for URL connection. I pass 4 url from the first class to the constructor of the second class. In the second class (urlcon) there is a method called getResult() that returns a string. ie a=new urlcon(url1); a.getResult(); b=new urlcon(url2); b.getResult(); c=new urlcon(url3); c.getResult(); d= new urlcon(url4); d.getResult(); I want to use thread in the second class.But I don't know how to do this. please note that I want to call the method getResult() from my main program I did n't find any solution in the
More>>
Hi
I have a class that use another class for URL connection.
I pass 4 url from the first class to the constructor of the second class.
In the second class (urlcon) there is a method called getResult() that returns a string.
ie
a=new urlcon(url1); a.getResult();
b=new urlcon(url2); b.getResult();
c=new urlcon(url3); c.getResult();
d= new urlcon(url4); d.getResult();
I want to use thread in the second class.But I don't know how to do this.
please note that I want to call the method getResult() from my main program
I did n't find any solution in the FAQ
could you pls help me
thanks
sabu
<<Less