I have a class Twitter which implements Interface Twitter.IHttpClient. Now contructor for Twitter uses same interface as paramter.
Twitter(java.lang.String name, Twitter.IHttpClient client);
How is that possible? As interface Twitter.IHttpClient will be member of Twitter class itself and I can't create a Twitter class without it through constructor? or
I am understanding wrongly?