Type Casting in Java

Converting one data type to another data type is known as type casting. Type Casting in Java is of two types i.e. Implicit Type Casting which is also known as Automatic Type Casting and Explicit Type Casting. Implicit or Automatic Type Casting In this, smaller data type is converted to bigger data type which is also …

Type Casting in Java Read More »

How to Write, Compile and Run Your First Java Program?

Before running Java programs you need to install and setup java. For installation guide read: Java Installation: Downloading, Installing and Setting Path How to write and run Java programs? Open notepad and write below program.   class demo {                 public static void main(String…S)                 {                                 System.out.println(“Java Programming”);                 } } Now save the file …

How to Write, Compile and Run Your First Java Program? Read More »

C Program to Print India Map

In this article, I am sharing the program to print the India map. If you like it, please do share it! Output: For an explanation of the code visit http://stackoverflow.com/questions/3533348/how-does-this-code-generate-the-map-of-india