5
I’m new in Java and I’m learning app for Android and on my way, I ran into this mistake:
Method does not override method from its superclass
The word @Override is underlined in red, but I could not understand the error. Below is the code:
public class MainActivity extends Activity {
@Override
public void OnCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
Perfect Diego. Thank you very much.
– user24136