posted 21 years ago
I looked at the above line in Exam 3, Question 45 of Marcus Greens Mock tests. I was wondering one thing....
How can the static method main() access the court variable of s?
I tried placing a similar sample of code in my compiler, and was unable to compile it.
By the way, the answer given is 4.
Can someone explain?
Thanks
Zak Nixon