Return-Type-Based Method Overloading in Java

Return-Type-Based Method Overloading in Java — wow! Next you’ll discover that in Java bytecode you can throw/catch any object, not just Throwable subclasses and use that knowledge to implement more weird bytecode hacks! And BTW return-type overloading is used in Java 5 to implement bridge methods that allow overriding super methods with a different return type, so it’s not really so esoteric.

Tags: ,

  • http://www.blogcop.com/blog/Return-Type-Based-Method-Overloading-in-Java/MjcwNTEx Gedder56

    I was talking to a friend of yours last week, he said look up the title Return Type Based Method Overloading in Java. I found it on Google and a place called Blogcop.com which was great. I had a good read and it seem like a similar situation, speak to you later.