Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait A {
- def goo(): Int
- }
- object A {
- def foo(): Int = 1
- }
- class B extends A {
- def foo(): Int = A.foo()
- def goo(): Int = 2
- }
- class C$ {
- def m(): Int = 1
- }
- object C$ {
- val MODULE$ = new C$()
- }
- class C {
- def m() = C$.MODULE$.m()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement