“HELLO WORLD” – 10+ Computer Language Example. [The first Developer code.]

1. JavaScript

// “hello world”- program with JavaScript
console.log(‘Hello World’);

2. Python

# Hello, world! -with Python
print(‘Hello, world!’)

3. Java

// Hello, world! -with Python

class Simple{
public static void main(String args[]){
System.out.println(“Hello Java”);
}
}

4. C

// Hello, world! -with C

#include
int main() {
// printf() displays the string inside quotation
printf(“Hello, World!”);
return 0;
}

5. CPP

// Hello, world! -with Python
#include

int main() {
std::cout << “Hello World!”;
return 0;
}

6. PHP

// Hello, world! -with PHP</br>
<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo “Hello World!”;
?>

</body>
</html>

7. C#

// // Hello, world! -with C#
namespace HelloWorld
{
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine(“Hello World!”);
}
}
}

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top