Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A { public void a(){} }
- class B { public void b(){} }
- class C {
- void foo() {
- A.a();
- B.b();
- }
- }
- class C {
- void foo() {
- new A().a();
- new B().b();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement