By a random I found out that the following code is valid in Java. Eclipse does not show an error and it does not come to a RuntimeException while using the programm:
File f1 = new File("");
File f2 = new File(f1 + "");
Why does that work? f1 is definitely not a String so why can we combine two different objects with the + operator? File is a direct subclass from Object and we can not merge a String with a File object because that are mainly different objects. File has also an uri constructor but why should this be an uri? File and uri are in technical view from java absolute different objects (again both are direct subclasses from object and have no context to each other) so why does this work?