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
1
Explanation:
In the given program, there are some errors are as follows-
- P in 'Public' should be small.
- S in 'String' should be capital.
And everything is fine.
the print statement will print the following output -
3java3
#answerwithquality
#BAL
Similar questions