There is an error on line 18
There is an error on line 19
What would you infer from the following code?
1.MessageConnection conn;
2.
3. public void startApp()
4. {
5.
6. try
7. {
8. conn = (MessageConnection)Connector.open("cbs://:3382");
9. }
10. catch(Exception e)
11. {
12. //Some exception handling
13. }
14. }
15.
16. public void run()
17. {
18. Message msg = conn.receive();
19. conn.send(msg);
20. }
Correct Answer:
There is an error on line 18
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More J2ME - Java Platform Micro Edition MCQ Questions