Some sort of error

Multi tool use
Multi tool use


Some sort of error



Something is wrong with my java file, but I don't know what it is. Can someone please tell me.
BTW, I'm new to this



Thank You



Screenshot



enter image description here





Nevermind I got it
– Omar
Jul 2 at 10:29





Close the question then.
– JacksOnF1re
Jul 2 at 10:36




3 Answers
3



Closing braces are missing as far as i can see.



you need to give 2 closing braces after super statement



you are missing closing } braces.



put the 2 closing } braces after your onCreate() callback .


}


onCreate()



Example:-


package com.example;

import..

public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

DoWIiW JBJrAY3S,F7KX45OEvG,MYWGzMtOD
uMIAY7m7XZ861TJ2DLQ ib La8UH1DT,b5F R,OF JWmF

Popular posts from this blog

Boo (programming language)

Rothschild family