• Post Reply Bookmark Topic Watch Topic
  • New Topic

which application grantee to transfer of data without any loss?  RSS feed

 
Arun Maalik
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey ranchar i am confusing on a question like below that

Q which of the following application grantee to tyransfer of data without any loss

a)DatagramSocket
b)ServerSocket
c)DataSocket
d)ClientSocket

Regard Arun
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're confused too; none of these are "applications", and several of them are not classes from the standard API, so I don't know if they're supposed to be fake, or if they're part of some library or other.

The "Datagram" classes in the standard API work with UDP, which is an "unreliable" (no guarantee) protocol, while "ServerSocket" is, by default, implemented using TCP sockets, which are "reliable" (guaranteed to make every possible effort to deliver data.) So if I had to guess an answer, I'd say "b". But really, this is such a horribly worded question that my answer is as likely as not to be wrong.
 
Arun Maalik
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i am also thoughting same as you answer should be the b and
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!