Android Studio code not working - help please : I am Mario and I am new as an android developer. Let's say I am moving my very first steps on it.

I wrote a code using Android Studio IDE that should ask for a couple of numbers and give us an answer for the ratio between them.

I receive the error saying "error class interface or enum expected". I read around that it occurs when I open too many curve brackets without closing them or vice-versa but I have just 2 open brackets and then 2 closed ones so it seems balanced.

I wrote it in java. Do not take me wrong but I read there are no android programming languages, you just use Java for it right?

The code is as follow (I also copy paste some comments related to every line I used):

    Import java.util.Scanner;
    
    //I am importing the package Scanner that will have some specific features for the keyboard. In java we use "." to denote the hierarchy.  So it will denote java util Scanner in Windows environment. The full meaning is import Scanner class which is in util folder inside the java folder. In java util stands for utility and contains utility classes, Scanner is a predefined class for taking inputs from the user;
    
    Class BIL{
    //I am defining a class, a function;
    
    Public static void main(string args[]){
    //I am defining the main of the class here. Public is an access specifier which allows the main method to be accessble everywhere. Static helps main method to get loaded without getting alled by any instance/object. If the main method were not declared static than JVM has to create an instance of main class Void clarifies that the main method will not return any value. Main is the name of the method. String[] args defines a string array to pass arguments sent from command line. args is the variable name of the String array and can be changed to anything.It helps to send argument in the form of an array by knowing their locations;
    
    Scanner userInput = new Scanner(System.in);
    //I create an object of a Scanner class which is defined in import java.util.scanner package. Scanner class allows user to take input from keyboard. System.in passed as parameter will tell to the compiler that input will be provided through keyboard. System.in is the standard input;
    
    Double MH, c, Md;
    //I define variable with double-precision 64-bit floating point;
    
    System.out.println(Enter the load, please:);
    //It prints the argument passed, into the System.out which is the standard output. In this particular case it prints it and goes to a new line;
    MH = userInput.nextDouble();
    //The call to .nextDouble() waits for a value to be input. Once input, the value will be stored in the assigned variable MH20;
    System.out.println(Enter capacity, please:);
    c = userInput.nextDouble();
    Md = MH/c;
    System.out.println(The mass needed is:);
    System.out.println(Md);
    //it prints out the result;
    }
    }

Many thanks.

Mario
