Place class inside package using package clause at top of source
package progfun.examples object Hello { //... }
Another file:˜
progfun.examples.Hello //OR import progfun.examples.Hello import progfun.examples._ Hello
Last updated 6 years ago