Different OOP systems
- Java - Hello World needs a class, but numbers and strings by themselves are not objects.
- Python - Even strings and numbers are objects, but you can just write a single line to print.
examples/hello_world.py
print("Hello World")
examples/HelloWorld.java
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } }
"abc".upper()