is there any problem in the given code which is written in java
if(FirebaseAuth.getContext.getCurrentUser != null){
Intent intent = new Intent(Main.this , Home.class);
startactivity(intent);
}
else{
finish ();
}
correct the statement if it is false
Select the correct answer from above options