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 null in java?

1028


Why we used break and continue statement in java?

1223


Is a boolean variable?

1065


What are class types in java?

1115


What does the “static” keyword mean? Can you override private or static method in java?

1167


What is thread life cycle in java?

1138


Can you extend singleton class?

1158


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1221


What does += mean coding?

999


What exactly is methodology?

985


What are the major advantages of internal iteration over external iteration?

1107


What are the differences between include directive and include action?

1285


How to call one constructor from the other constructor ?

1121


What are the important features of Java 8 release?

1141


How can constructor chaining be done using this keyword?

1336