Computer Science, asked by akankshasingh5095, 7 months ago

Find the errors in the below code & rewrite the code:
(a) long x = 10; y = 50;
System.out.print ("x + /t + y");​

Answers

Answered by DrNykterstein
0

Incorrect syntax.

Correct:

long x = 10, y = 50;

System.out.println( x + y );

Similar questions