Happy New Year 2021 in Different Programming Languages

New Year is around the corner, We all know that this year was very rough for everyone. But it’s finally going to end, so here I’m with a new post to show you how can you write Happy New Year 2021 in different programming languages.

I hope you guys like this if you do then please share this with all your friends. Ok now let’s jump right on the main content.

Happy New Year 2021 in Different Programming Languages:


happy new year in java
Happy New Year In Java
class NewYear {
public static void main(String[] args) {
System.out.println("Happy New Year 2021");


happy new year in javascript
Happy New Year In Javascript
console.log("Happy New Year 2021");

a single line, that’s why I love JavaScript.


happy new year in python
Happy New Year In Python
print("Happy New Year 2021")

again a single line, same for python.


happy new year in kotlin
Happy New Year In Kotlin
pakage NewYear
fun main() {
println("Happy New Year 2021")


import Swift
print("Happy New Year 2021")


happy new year in c sharp
Happy New Year In C#
using System;
class NewYear
public static void Main(string[] args)
Console.WriteLine("Happy New Year 2021");

Must Read: Must-Have New Year’s Resolutions For Programmers


#include <stdio.h>
int main(void)
    printf("Happy New Year 2021\n");


#include <iostream>
int main()
    std::cout << "Happy New Year 2021\n";
    return 0;


<!DOCTYPE html>
<h1>Happy New Year 2021</h1>
<!-- I Know HTML is not a Programming Language,
But it's fun (LOL)


int main(void)
    NSLog(@"Happy New Year 2021");
    return 0;


disp('Happy New Year 2021')


program NewYear;
  WriteLn('Happy New Year 2021');


puts "Happy New Year 2021"

I hope you like all this, if yes then please share this with all your friends and Subscribe me on YouTube and on other social media platforms.

And wish you all a very Happy New Year from @sachin

Sachin Sharma

I am a programmer and Tech Enthusiast who loves to use my creative skills to solve complex problems.

You may also like...

1 Response

  1. 31st December 2020

    […] Updated Post With Pictures: Happy New Year 2021 in Different Programming Languages […]

Leave a Reply

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