comments 2

Happy birthday JAVA Program

Today, I have congratulated with Happy birthday using a programming language i.e. JAVA to one of the best teacher I have at Muhammad Ali Jinnah University Islamabad, who is also programmer. So I thought to share it here as well. You can share in other languages like php, asp.net etc. Its simple Happy birthday JAVA Program using a class and printing out a message.

public class Birthday
{
   public static void main (String[] args)
   {
     System.out.printIn ("Happy Birthday!");
   }
} 
  • Aamir
  • Usman Khalid

    Lets do it Microsoft’s way using best programming language C#

    using System;
    namespace HappyBirthday
    {
    class SayHappyBirthday
    {
    static void Main(string[] args)
    {
    Console.WriteLine(“Happy Birthday Sit….”);
    }
    }
    }