| 310-110 Exam |
| 310-110 - Exam Information |
| Question of the day |
Given: 15. String addr = "sms : / / + 14155557296 " ; 16. MessageConnection conn 17. = ( MessageConnection ) Connector . open (addr ) ; 18. / / insert code here 19. message . set pay loadData ( imageBytes ) ; Assume imageBytes is a Valid byte array. Which statement, inserted at line 18, causes the rest of the code fragment to compile correctly?
Answer(s)
BinaryMessage message = (BinaryMessage) Conn..newMessage(MessageConnection. BINARY_MESSAGE ) ;