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

Why is flag used in java?

1075


What is the difference between processes and threads?

1054


Does java arraylist maintain insertion order?

998


Can we have two main methods in a java class?

1055


What is the synonym of string?

1095


What is variable argument in java?

1007


How do I write a self declaration?

1111


What is static data type in java?

1032


what is the significance of listiterator in java?

1080


What is the difference between an interface and an abstract class?

1006


How to display all the prime numbers between 1 and 100

1016


Why is core java important?

1043


Why are the methods of the math class static?

1077


What is autoboxing and unboxing?

1005


How many unicode characters are there?

1067