Computer Science, asked by nayanaponugupati215, 1 month ago

What is the output of the following JAVA program?
Class Test
public static void main(String] args) {
Test obj = new Testo:
obj.start():
}
void start() {
String stra="do",
String strb = method(stra),
System.out.print(": "+stra + strb),
]
String method(String stra) {
stra = stra + "good".
System.out.print(stra);
return" good";
odgood​

Answers

Answered by sivakumar20dec
1

Compilation error

hope you find this helpful.

Similar questions
Biology, 8 months ago