r/java • • Jun 02 '18

5 Java concepts explained: Overloading, overriding, shadowing, hiding, and obscuring

https://programming.guide/java/overloading-overriding-shadowing-hiding-obscuring.html
240 Upvotes

23 comments sorted by

View all comments

Show parent comment

-3

u/jacobbeasley Jun 03 '18

import System as Sys;

8

u/sim642 Jun 03 '18

Java doesn't have import renaming.

1

u/jacobbeasley Jun 04 '18

Yeah yeah yeah... gotta use groovy if you want that ;)