option 4 explanation:
Since Runnable is an interface, it cannot be instantiated like this. But you can do : Runnable r = new Runnable(){public void run(){ }};
Moderator: admin
Since Runnable is an interface, it cannot be instantiated like this. But you can do : Runnable r = new Runnable(){public void run(){ }};
Users browsing this forum: Bing [Bot] and 76 guests