Originally posted by Rajshekhar Paul: - Used individually, boxing and var-args are compatible with overloading.
first one means that boxing and var-args can not be combined in method overloading.
I think you have understood it wrong. I don't think the statement means in any way that you cannot combine var-args and boxing. It just says that you can overload a method with one of them having var-args and one having boxing. The book also tells that when there is a conflict between var-arg and boxing, boxing is chosen by the compiler... [ December 05, 2008: Message edited by: Ankit Garg ]