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

What is the properties class?

1041


What is the purpose of final keyword and when to use it?

959


In Java list the methods that can be overridden?

961


Is java ee a framework?

943


Can variables be used in java without initialization?

1037


Is java developer a good career?

978


State some situations where exceptions may arise in java?

1014


What is == and === in javascript?

1013


What is use of super keyword in java?

984


Explain the use of shift operator in java. Can you give some examples?

929


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

1009


Can a class have multiple superclasses?

1102


What is string length in java?

907


What is an example of a keyword?

1035


What is static in java?

1044