android - Class must either be declared abstract or implement abstract method? -
this question has answer here: class must either declared abstract or implement abstract method error 3 answers it loos i'm doing right here must missing something. hoping explanation why i'm getting error in first line of code , should fix type of problem? i'm new android dev. public class page2 extends appcompatactivity implements onclicklistener { /** * attention: auto-generated implement app indexing api. * see https://g.co/appindexing/androidstudio more information. */ private googleapiclient client; imagebutton rock, scissors, paper; random randomnum = new random(); int cpumov; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activitypage2); //set xml page style display rock = (imagebutton) findviewbyid(r.id.imagebuttonrock); scissors = (imagebutton