Java Name Hiding: The Hard Way

You can cast a null to the type and then invoke the method on that (which will work, since the target object isn’t involved in invocation of static methods). ((net.foo.X) null).doSomething(); This has the benefits of being side-effect free (a problem with instantiating net.foo.X), not requiring renaming of anything (so you can give the method … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)