MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/itsaunixsystem/comments/nxcfav/startup_welcome_to_javascript_writer_java_code/h1i1wnt/?context=3
r/itsaunixsystem • u/Worse_Username • Jun 11 '21
29 comments sorted by
View all comments
Show parent comment
7
Best to make sure the rest of the code knows that Scanner is more important because it was imported first. That way it can rule the other objects as a parent, the other imports are just children. This is how class heirarchy and inheritance works.
/s
View all comments
Show parent comment
7
u/filtoid Jun 12 '21
Best to make sure the rest of the code knows that Scanner is more important because it was imported first. That way it can rule the other objects as a parent, the other imports are just children. This is how class heirarchy and inheritance works.
/s