Computer Science, asked by ahaana16, 8 months ago

Select the line numbers on which errors are there in the program-
line 1*/ import java.util.*;.
Line 2* public class Test {
*Line 3*/ public static void main(String[] args)
{
line 47 System.out.println("Enter your name");
Line 58 Scanner sc=new Scanner(System.in);
*Line 68 String name;
*Line 7
int i;
*Line 8
for (name=sc.next(),i = 0; i < 2; i++)
{
*Line 9
*Line 10
System.out.println("name");

Answers

Answered by komalpreetkaurkaur52
1

Answer:

In line 8

8 part of answer is c6

Similar questions