Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marshalling Overhead

 
Tom Johnson
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm currently studying for a CORBA certification and am wondering if you can help me with the following sample question :

Which one of these has the least marshaling overhead?
1) char
2) octet
3) long
4) struct
5) string

I would go for octet as it maps to a java byte, which needs the smallest number of bits to represent it. Would that be the correct logic to follow?

Cheers
/Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic