You need to sign in to do that
Don't have an account?
Baba G
Someone can please help me in removing errror?
Sonam (Salesforce Developers)
Check the following thread - http://stackoverflow.com/questions/24041113/error-1-inconsistent-accessibility-return-type-is-less-accessible-than-method It has a similar error for the sample code given