whats string ?

Answers were Sorted based on User's Feedback



whats string ?..

Answer / dsr

String is a class.string is immutable.

Is This Answer Correct ?    17 Yes 1 No

whats string ?..

Answer / nagendra

string is a class.

Is This Answer Correct ?    10 Yes 2 No

whats string ?..

Answer / venkatachalapathy

string is a immutable object i.e once the object is created
it cannot be modified. if we try to modify it creates
another new object

Is This Answer Correct ?    8 Yes 0 No

whats string ?..

Answer / nikunj b patel

string is class.it is collections of character.

Is This Answer Correct ?    7 Yes 1 No

whats string ?..

Answer / jayapala.pm

String is a collection of characters.
- In JAVA String is a wrapper class,String object can hold
the collection of characters.
- wrapper class is wrap the primitive value with in the
constructor is called wrapper classes.
- Strings are immutable in JAVA(we can't modify the string
object after initialize the value to object)
- String str = "greatJP"; we can assign value directly.This
option only for String class.
- Normally we will declare String str = new
String("GreatJP");

Is This Answer Correct ?    3 Yes 0 No

whats string ?..

Answer / venkat

String is one of the datatype that is user to assign the
character to the variables,and we can give as an input in
the runtime.

Is This Answer Correct ?    2 Yes 0 No

whats string ?..

Answer / srinu

String is collection of characters are enclosed with double
quation.

Is This Answer Correct ?    2 Yes 0 No

whats string ?..

Answer / stranger_ajnabi53@yahoo.c

string is an array of character.

Is This Answer Correct ?    4 Yes 5 No

whats string ?..

Answer / vijeet

String is a class or String is a method, String is a
primitive type...

Is This Answer Correct ?    0 Yes 1 No

whats string ?..

Answer / manoj

String is object which can store multiple variable

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More Core Java Interview Questions

when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service

4 Answers   Accenture,


How to call one constructor from the other constructor ?

0 Answers  


wht is customised exception?

1 Answers   Logica CMG, Novell, Prudential,


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


What are different type of exceptions in java?

0 Answers  






How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?

1 Answers  


What is output buffer?

0 Answers  


What is difference between public static and void?

0 Answers  


What is the purpose of an interface?

0 Answers  


what is the life cycle of jsp?

3 Answers   Photon,


Does string isempty check for null?

0 Answers  


Explain the importance of finally block in java?

0 Answers  


Categories