1. Python
print("Hello World!")
2. Java
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
3. JavaScript
console.log("Hello, World!")
4. C Sharp
using System;
class Hello {
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
5. Swift
print("Hello, World!")
6. Dart
void main() {
print("Hello, World!");
}
7. Go
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
8. C++
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello, World!";
return 0;
}
9. C
#include <stdio.h>
int main(void)
{
printf("Hello, World!");
}
10. Kotlin
fun main(args: Array<String>) {
println("Hello, World!")
}
Top comments (0)