What will be the ouput of the following code snippet? String myString = new String("Java"); StringBuffer myBuffer = new StringBuffer("Java"); myString.replace('a','o'); myBuffer.replace('a','o'); System.out.println(myString+","+myBuffer);
Jovo,Jovo
Java,Jovo
Java,Java
Compile time error