- 2

What do I fill in the blanks with?

public_____ A { public void test() { System.out.println("Hi"); } } class B { public static void main(String args[ ]) { ______ obj =_____ A(); obj. _______;

20th Jan 2017, 11:32 AM
Lilli Mifflin
6 odpowiedzi
+ 1
1. class 2. A 3.new 4.test()
3rd Feb 2017, 2:42 PM
Ashu Bagul
Ashu Bagul - avatar
0
public A { public void test() { System.out.println("Hi"); } } class B { public static void main(String args[ ]) { obj = A(); obj. ; } } Ans-1. class 2. A 3.new 4.test()
30th Apr 2022, 6:03 AM
MAREESWARAN S
MAREESWARAN S - avatar
- 1
Please don't use the q&a to get lazy with answers
20th Jan 2017, 11:33 AM
Aaron
Aaron - avatar
- 1
I am extremely tired and stuck on questions and I really need to get this done because it is due today, so I apologize.
20th Jan 2017, 11:36 AM
Lilli Mifflin
- 1
1. class, 2. class, 3. new, 4. test ()
20th Jan 2017, 11:42 AM
Aaron
Aaron - avatar
- 1
thank you
20th Jan 2017, 12:02 PM
Lilli Mifflin