I have a String s = java; What is the output when I say
s.replaceAll('j', 'k'); Also what is the value of s after
replacing?
Answer Posted / malli
Compile time error error.
String s=java here double quotes missing
and s.replaceAll('j','k'); here also we have to give double quotes.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are Hostile Applets?
Can a class have more than one object?
What is qms certification?
Explain 5 io best practices?
How can you handle java exceptions?
What are the differences between processes and threads?
What are the loops in java?
What are data types in programming?
Is minecraft 1.15 out?
Is char a data type in java?
Name few "optional" classes introduced with java 8 ?
Explain purpose of sleep() method in java?
What must a class do to implement an interface in java programming?
How do you identify independent and dependent variables?
What is the full name of java?