+ Start a Discussion
Baba GBaba G 

Someone can please help me in removing errror?

User-added image
SonamSonam (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