0

Hi,

I am getting an error "Illegal Start of Expression" on the following code:

obj.NoOfJumps(1, 2, 3, {1,2,3});

Here, NoOfJumps is a method defined in a class which does not have the main method. This method accepts 4 arguments namely

1)Integer
2)Integer
3)Integer
4)Integer Array


Can someone please explain why this error is coming up and what is the resolution for this?

Thanks

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Ezzaral
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.