“différence entre Java et Python” Réponses codées

Python vs Java

Java is faster than Python as Python is interpreted, while Java is compiled.
In use cases, Python can do a lot more than Java can.
In readability, Python is easier language to learn as it is similar to English. Java is a
little more wordy. For example, here is Hello World in Python and Java for a comparison.

Java:
  public class HelloWorld {
      public static void main(String[args]) {
          System.out.println("Hello World");
      }
  }
  
Python:
    print("Hello World")
    
Both languages are great, but Python is better for beginners.
Old Pizza

java vs python

Java: I am great
Python: Ask from people
Java: Ok
Begginer:Java, oop, used everywhere, important. Ok
		Python, powerful, easy, used in hacking, used by many big companies, can make dynamic things, used by Elon

After deep thinking

Beginner: I will chose python for programming and java for playing minecraft
Java: Wait, what!
python: I knew it
Fierce Finch

différence entre Java et Python

public class Increment
{
    public static void main(String [] args)
    {
        for (int i = 0; i < args.length; ++i)
        {
            System.out.println(args[i]);
        }
    }
}

in python the code is

for i in range("the last value"):
	print(i)
Troubled Trout

Réponses similaires à “différence entre Java et Python”

Questions similaires à “différence entre Java et Python”

Plus de réponses similaires à “différence entre Java et Python” dans Java

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code