Suppose you are writing a method getChildren( ) in a Person class that returns an array of Persons. Then, among other things, you need to deal with the case where the person on whom the method is invoked has no children. What should your method return in that case? Should it return null or an array of length 0?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here