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 class allows you to read objects directly from a stream in java programming?

992


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2283


Why can't you declare a class as protected?

1050


Why declare Main() inside the class in java ?

991


What an i/o filter?

945


What are inner classes or non static nested classes in java?

1119


Why local variables are stored in stack?

921


How do you print array in java?

921


What is the difference between superclass and subclass?

1084


Is there any difference between nested classes and inner classes?

1027


what state does a thread enter when it terminates its processing? : Java thread

990


What is the use of a copy constructor?

946


What is a function in programming?

982


Is object a data type in java?

1048


Explain reverse a linked list recursive java solution?

935