• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Multiple selection answer

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
This is a question from one of the mock test.
In the following question the correct answer according to me are C,D,E.
But the options for answer were given in the form of radio buttons. But how will I select the three correct answer in this?

Which correctly create a two dimensional array of integers?
A.int a[][] = new int[10,10]
B.int a[10][10] = new int[][];
C.int a[][] = new int [10][10];
D.int []a[] = new int [10][10];
E.int []a[] = new int[10][10];
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case select most appropriate one
which is c in your case
Hope it helps
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Shikhar you are missing something, otherwise option d & e are exactly same. which is not possible. could you please mention the mock exam name & question number, that wud be better.
thanx,
DS
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gourav,
C,D,E are correct answers : Even though D & E are same we should mark C,D,E. I don't know how to mark it.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi thanks for reply..
the mock test is at www.sarga.com
 
reply
    Bookmark Topic Watch Topic
  • New Topic