How to compare string with double quotes in java?
Answers
Answered by
0
chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug chug
Answered by
0
Answer:
int a=s.compareTo(Str);
s is a string .
Str is a string .
Explanation:
String is a datatype .
Datatypes are used to determine the nature of the variable .
When we specify that a variable has a certain datatype we say what values the expression may have .
The datatypes are :
- Byte .
- Short .
- Char .
- Int .
- Float .
- Long .
- Double .
- Boolean .
- String .
Similar questions
English,
7 months ago
Hindi,
7 months ago
Math,
7 months ago
Math,
1 year ago
Political Science,
1 year ago
India Languages,
1 year ago