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 / prabhavith
replaceAll take two strings as parameter
but in the given question characters are given as parameter
hence it is an error
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
Write a program in java to create a doubly linked list containing n nodes.
Do I need java on my pc?
What are 4 pillers of object orinted programming?
What is the static keyword?
Explain JMS in detail.
What is a bubble sort in java?
Can we change the scope of the overridden method in the subclass?
What is a method vs function?
What is difference between jdk,jre and jvm?
Can we access instance variables within static methods ?
What is the difference between stored procedure & function?
What are the methods to rectify ambiguities in the interfaces in JAVA?
How do you use nextline in java?
What are the data types supported by java? What is autoboxing and unboxing?