Computer Science, asked by syedashafain, 6 months ago

What will be the output


public class Main {

public static void main(String[] args)

{

int $ = 5;

}

}​

Answers

Answered by kavyasahaidln
0

Answer:

There will be a complier error in this Java array

Explanation:

You have given gap After String[]

Don't Give gaps in $ sign

You re' code should be Like this

public class Main {

public static void main(String[]Args)

{

int $=5;

}

}​

Answered by anjaliom1122
1

Answer:

Compiler error while run this program .

Explanation:

public class Main {

public static void main(String[] args)

{

int $ = 5;

}

}​

Similar questions