Quiz 00.1 on Modules, packages and environments
Q1: What is printed ?
Given a file foo.jl with the following code:
println("A - I am in foo.jl")
module Foo
println("B - I am in module Foo in foo.jl")
export x
const x=1
const y=2
z() = println("C - I am in a function of module Foo")
end
module Foo2
println("D - I am in module Foo2 in foo.jl")
export a
const a=1
const b=2
c() = println("E - I am in a function of module Foo2")
endWhich print statements will appear after running the command include("foo.jl") ?