When you post a question that you copied from a book or a mock exam here on JavaRanch, then please
quote your sources, which means: tell us where you copied the question from.
By doing this you will help your fellow JavaRanchers; they can find the book or mock exam you've copied it from. Also, it's polite to the author of the book or mock exam.