import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class HelloBank {
int id, withdraw, deposit;
String name;
public void info(){
System.out.println(name+"\nCustomer ID="+id);
}
public void infoo(){
System.out.println(id);
}
public void Transactionsdetails(){
System.out.println("Withdraw details"+withdraw);
}
}
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
HelloBank user1 = new HelloBank();
user1.name ="vikas";
user1.id = 44;
user1.withdraw =5000;
user1.info();
user1.Transactionsdetails();
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: