New use in Java (Can someone tell me why this is not working like i keep getting errors)
<p>Can someone tell me where this is not working? Particularly the usage of the <code>new</code> keyword in the two methods.</p>

<pre><code>import java.util.Scanner;
public class dotPractice {
    public static void main (String args[]) {
        BankAccount b1 = new BankAccount("Ade", 500.00);
    }
    public static void BankAccount(String Password, double balance) {
        // so i created a method for a bank account
        Scanner input = new Scanner(System.in);
        String Password = input.nextLine();
        balance = input.nextDouble();
    }
}
</code></pre>
