Calling Main Method From Main Method in Java…

Have you ever tried to call Main method from a Main method in java ?

If Yes, What was the result ?

Did you get an exception like .. “Exception in thread “main” java.lang.StackOverflowError” ?

Continue reading

Advertisements

Type हिन्दी in Java…

Hey Friends,

you know every character has its Unicode value.

Before Unicode, there were many language standards:

  • ASCII (American Standard Code for Information Interchange) for the United States.
  • ISO 8859-1 for Western European Language.
  • KOI-8 for Russian.
  • GB18030 and BIG-5 for chinese, and so on.

In unicode, character holds 2 byte, so java also uses 2 byte for characters. Continue reading