whats string ?
Answers were Sorted based on User's Feedback
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 |
Answer / nikunj b patel
string is class.it is collections of character.
| Is This Answer Correct ? | 7 Yes | 1 No |
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 |
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 |
Answer / srinu
String is collection of characters are enclosed with double
quation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / stranger_ajnabi53@yahoo.c
string is an array of character.
| Is This Answer Correct ? | 4 Yes | 5 No |
Answer / vijeet
String is a class or String is a method, String is a
primitive type...
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / manoj
String is object which can store multiple variable
| Is This Answer Correct ? | 2 Yes | 6 No |
What are the notations in Java?
what is the logic inside any default constuctor?
how to print hello world every second till i have pressed enter key ???
What is numeric data type?
How Array List can be Serialized.
What is fail fast in java?
What is core java called?
Can I use % with real numbers?
Is final static java?
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
What is meant by collection in java?
What is design pattern and there types?