• About Us
  • Contact Us
  • Privacy Policy
  • Copyright Policy
Monday, December 9, 2019
Techorhow
  • Home
  • News
  • Android
    • Rooting
      • Root through PC
      • Root through Mobile
      • How to Unroot
  • How To
  • Tricks & Tips
  • Review
  • Windows
No Result
View All Result
  • Home
  • News
  • Android
    • Rooting
      • Root through PC
      • Root through Mobile
      • How to Unroot
  • How To
  • Tricks & Tips
  • Review
  • Windows
No Result
View All Result
Techorhow
No Result
View All Result
Home How To

How You Can Say ‘Hello World’ in 25 Different Programming Languages

Rahul Yogi by Rahul Yogi
December 9, 2018
2 min read
hello_world-techorhow
Share on FacebookShare on Twitter

Printing ‘Hello World’ is the most famous program. It is the first example in nearly every programming language for every programmer. Traditionally, it’s the first program developers use to test systems. For programmers, seeing the two words on the screen means their code can compile, load, run and they can see the output.

In this article, Let’s talk about how to write HELLO WORLD program in 25 different programming languages. You’ll also know the difficulty and simplicity of these programming languages after looking at their syntax.

1. C PROGRAMMING

#include
int main(void)
{
puts(“Hello, world!”);
}

2. C++ PROGRAMMING

#include
int main()
{
std::cout << “Hello, world!”;
return 0;
}

3. C# PROGRAMMING

using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(“Hello, world!”);
}
}

4. JAVA PROGRAMMING

import javax.swing.JFrame; //Importing class JFrame
import javax.swing.JLabel; //Importing class JLabel
public class HelloWorld {
public static void main(String[] args) {
JFrame frame = new JFrame(); //Creating frame
frame.setTitle(“Hi!”); //Setting title frame
frame.add(new JLabel(“Hello, world!”));//Adding text to frame
frame.pack(); //Setting size to smallest
frame.setLocationRelativeTo(null); //Centering frame
frame.setVisible(true); //Showing frame
}
}

5. JavaScript

document.write(‘Hello, world!’);

6. Python PROGRAMMING
print “Hello, world!”

7. Pascal Codes

program HelloWorld;
begin
WriteLn(‘Hello, world!’);
end.

8. Ruby

puts “Hello, world!”

9. Visual Basic .NET

Module Module1
Sub Main()
Console.WriteLine(“Hello, world!”)
End Sub
End Module

10. MatLab

disp (‘Hello, world!’)

11. Swift

println(“Hello, world!”)

12. jQuery

$(“body”).append(“Hello world!”);

13. Bash

echo “Hello World”

14. Perl 5

print “Hello, world!”;

15. Basic

PRINT “Hello, world!”

16. Objective-C

#import
#import
int main(void)
{
NSLog(@”Hello, world!”);
return 0;
}

17. XSLT

Hello World

18. CoffeeScript

console.log ‘Hello, world!’

19. Logo

print [Hello, world!]

20. VBScript

MsgBox “Hello, World!”

21. Clipper

? “Hello World”

22. Delphi

program HelloWorld;
begin
Writeln(‘Hello, world!’);
end.

23. Julia

println(“Hello world!”)

24. Processing

void setup()

{
println(“Hello, world!”);
}

25. R

cat(‘Hello, world!’)

Tags: Hello WorldProgramming
ShareTweetShareShareSend
Rahul Yogi

Rahul Yogi

A tech lover boy who born with geek mind and loves to enjoy the tech thing first as soon as arrive. He is also fanatic of Tech & Sci-Fi Movies.

Related Posts

How to Change Windows 10 Login Screen Background
How To

How to Change Windows 10 Login Screen Background

June 25, 2019
How to Turn TV into Smart TV with Raspberry Pi & Kodi under $15
How To

How to Turn TV Into Smart TV using Raspberry Pi & Kodi

June 14, 2019
Download Epson Resetter Tool Free - Epson L210, Epson L220, Epson L120, Epson L380
Download

Download Epson Resetter Tool for Epson L210, L220, L120 and more.

August 29, 2019

Leave a Reply Cancel reply

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

Join Us.

  • 432 Fans
  • 706 Followers
  • 2.4k Subscribers
  • 4.5k Followers

Tech Trends.

Vpnhub : Free Proxy VPN by Pornhub to Unblock Porn Websites

February 2, 2019

Why My Cute Instagram Captions Is Better than Yours

January 23, 2019

Best USB WiFi Adapter Compatible with Kali Linux for Penetration Testing

January 16, 2019

Biggest Computer Hacking and Data Breach in History Of Mankind

January 11, 2019

20W Supercharge Technology For Upcoming Smartphones

December 13, 2018

Google Chrome 69 : A New Material Design for Android , Windows and IOS

December 9, 2018

Recent Post.

Best Custom Rom for Redmi Note 6 Pro - techorhow

Best Custom Rom For Redmi Note 6 Pro (Updated) – 2019

November 19, 2019
9xmovies 2019 - Download Bollywood & Hollywood Movies in Hindi

9xmovies 2019 – Download Bollywood & Hollywood Movies in Hindi

November 15, 2019
OGWhatsApp Apk Download Latest Version 8.0 Updated | 2019

OGWhatsApp Apk Download Latest Version 8.0 Updated | 2019

November 15, 2019
10 Best Survey Bypass Tools & Remover

10 Best Survey Bypass Tools & Remover Software (Updated) 2019

November 13, 2019
  • About Us
  • Contact Us
  • Privacy Policy
  • Copyright Policy

TechorHow || Copyright © Techorhow Inc , IN - 2019

No Result
View All Result
  • Home
  • News
  • Android
    • Rooting
      • Root through PC
      • Root through Mobile
      • How to Unroot
  • How To
  • Tricks & Tips
  • Review
  • Windows

TechorHow || Copyright © Techorhow Inc , IN - 2019