What happens if you declare two variables or arguments with the same name in the same scope? Specifically, what if you declare a variable a r g s within the main() method?
Write a program which contains the erroneous expression args [-1] == args [0] but still compiles and runs. (Hint: Use a short-circuited logical operator.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here