Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?

Answer Posted / selvan

It shows compile error, bcoz without class how it should be
run? so only coming expection. Declaration And all correct.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you invoke a method?

952


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

925


What is supplier in java?

957


Where we write javascript code in html page?

1001


Is linkedlist thread safe in java?

946


What are advantages and disadvantages of OOPs?

1060


Explain about main thread in java?

1041


What if static is removed from main method?

1015


What is jit and its use?

951


Can you pass by reference in java?

940


What is final int?

950


What is entry set in java?

1030


What is array command?

1094


How do I know if java is installed?

1019


What is difference in between java class and bean?

1030