requires Questions
7
Solved
What's the difference between requires and requires transitive module statements in module declaration?
For example:
module foo {
requires java.base;
requires transitive java.compiler;
}
Armchair asked 30/9, 2017 at 11:53
3
Solved
This seems like a simple question, but the docs don't seem to have anything to say on the subject. I would like to do something like Requires: vim or emacs but when I do that, I in fact depend on v...
Richert asked 26/1, 2010 at 13:30
4
Solved
The file welcome.rb contains:
welcome_message = "hi there"
But in IRB, I can't access the variable I just created:
require './welcome.rb'
puts welcome_message
# => undefined local variabl...
1
© 2022 - 2024 — McMap. All rights reserved.