DEV Community

loading...

Discussion on: Can I import local class files in Java, like you can Python?

Collapse
clo profile image
Christopher Lowenthal

I'm also recalling that it's possible to create your own loader that determines the rules of where to find classes.
IIRC you could make it so your code above works, but not sure it's worth the effort.

Alrighty now my head hurts from digging that deep into past projects.