+ 1
Which is better?
Which is better, Java or Python? Many say that java is harder to learn due to Python being very simple though I am a learner of Java and I donât think it is that difficult, iâd like to hear your perspectives.
2 Answers
0
What you think is best for you is what matters.
Then, with âbetterâ and âsimpleâ it depends on what you mean. Both codes below prints âHello worldâ, but I think most people would agree which of them that is the simpliest one to understand as a newbie.
# Java
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
# Python
print("Hello World!")
0
Hi! the best at what? In study or practical application? each language is designed for its own specific direction in programming