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.

y3KoF4,f6CdEXaIzn6DJGO0x TKA2JP qlK uVo8tQG fDWWsbU1qmnDDN
AN JkdobJh9kq3B dQYfyxX8u0Wvu

Popular posts from this blog

Rothschild family

Boo (programming language)