Java Programming and Technical Verbal Ability Miscellaneous

Which constructs an anonymous inner class instance?
A. Runnable r = new Runnable() { };
B. Runnable r = new Runnable(public void run() { });
C. Runnable r = new Runnable { public void run(){}};
D. System.out.println(new Runnable() {public void run() { }});

Read Solution (Total 5)

Java Other Question

Write a program on RMI and JDBC using
Stored Procedure?
How will you pass parameters in RMI?
Why do you serialize?