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 / tck

It shows the systex error,The String is the final class in
java the syntax for string class is
String s1="rajinesh";
String s2="bhaskar";
so we have to declare the string variables like this .

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java reflection?

1027


Is list thread safe in java?

964


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1099


What is a marker interface?

1225


What are the basic interfaces of java collections framework?

1178


Can we use string in switch case in java?

1130


What are the types of methodology?

1153


What is the difference between jfc & wfc?

1120


How to print nodes of a Binary tree?

2303


What is the purpose of extern variable?

1057


What are the different types of collections in java?

1015


How do you pass by reference?

1106


How arrays are stored in memory in java?

1021


What does += mean in java?

1128


Which is better stringbuffer or stringbuilder?

968