java - Error : This class should provide a default constructor (.....) [Instantiatable] -
i getting following error:
error: class should provide default constructor (a public constructor no arguments) (com.mrad4tech.development.sportss.twitterapi)
[instantiatable] package com.mrad4tech.development.sportss; public class twitterapi { private string twitterapikey; private string twitterapisecret; final static string twitter_token_url = "https://api.twitter.com/oauth2/token"; final static string twitter_stream_url = "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name="; public twitterapi(string twitterapikey, string twitterapisecret){ this.twitterapikey = twitterapikey; this.twitterapisecret = twitterapisecret; } ... }
help me please
add default constructor class twitterapi
.
//default constructor takes no arguments public twitterapi() { }
Comments
Post a Comment