Computer Science, asked by jaintina082, 3 days ago

find the number of arguments.
public class Sample
{ public static void main
(int a,int b)
{ int C= a+b;
System.out.println("Answer" = +C );
}}​

Answers

Answered by vedantkapruwan12
0

Answer:

first thing that this program will not work because you don't use

(String args[])  after public static void main so, in the starting it will show error.

And another thing there are three argument.

Explanation:

Similar questions
History, 3 days ago