Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

SOAP types question doubt

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Source:xyzws site mock exam

Problem
Which of the following statement describe the "array" compound type of SOAP types?
Options
Select 1 correct option.
1. A compound value in which accessor name is the only distinction among member values, and no accessor has the same name as any other.
2. A compound value in which ordinal position serves as the only distinction among member values.
3. Both a and b
4. None of the above
Can any one tell me the correct answer and exaplaination for above question.
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct option : 2


AS per http://www.w3.org/TR/2000/NOTE-SOAP-20000508/

An "array" is a compound value in which ordinal position serves as the only distinction among member values.

A "struct" is a compound value in which accessor name is the only distinction among member values, and no accessor has the same name as any other.

Please confirm
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both a and b is the right answer.
Somnath's explanation is right in this view.
 
What are your superhero powers? Go ahead and try them on this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic