Computer Science, asked by simrankerketta007, 2 months ago

write the output-:
System.out.println("2.5"+"6.3");
System.out.println(2.3+3.1);​

Answers

Answered by BrainlyProgrammer
10

Correct Output:-

2.56.3

5.4

Explanation:

  • Two strings separated by '+' sign are combined together and gets printed.
  • Two numbers seperated by + are added and printed
Similar questions