Computer Science, asked by rahulrahulkum1719, 10 months ago

What is the output from the following code snippet? Public class test{ Public static void main (string []args){
System .out .println(1+2+" java" +3);
}
}

Answers

Answered by avinashmurmu99311
0

Answer:

output - 3java3 will be the output

Answered by sourasghotekar123
0

Answer:

3java3 is the output from the:

Public class test {

Public static void main (string []args){

System.out.println(1+2+"java"+3);

}

}

code snippet.

Explanation:

The following are some mistakes in the provided program:

P in 'Public' should be small.

S in 'String' should be capital.

And everything is fine.

The output of the print command is as follows:

3java3

Code Snippet:

Any example found in the handbook is regarded as a piece of code. It provides an example of how to use a specific tool or perform a specific task properly. It might be part of a longer instructional or how-to, or it might just be a quick piece that focuses on one particular activity (such as how to utilize the on hover event to change the color of a button).

#SPJ3

https://brainly.in/question/14332390

Similar questions