If you write in JAVA for B4J / B4A you can use BA.Log(string) if you import the BA class. Underneath the bonnet in Class BA it does this
public static void Log(String Message) {
System.out.println(Message == null ? "null" : Message);
}
With inline Java code you dont have to import the BA class. Just use BA.Log(......).
I don't mean in B4X environment.
My point is after many years, now the people in Java, finally realize and acknowledge that Java is not beginner friendly.
It scared away many students who were learning how to begin with programming.
Compared to other programming languages like B4X, VB, PHP and Python, Java is not making sense for newcomers. I don't like C# either.