Loading, please wait ...
Open its course - Android Labs

Multiple Choice Questions for Room for Android

  • ×

    Hidden Questions!

    Some MCQs are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

  • 1 To define optional parameters of type String for a method myMethod in Java, the best way is:
    1. myMethod(String x, String... optionalPrams)
    2. myMethod(int a, String... optionalPrams)
    3. myMethod(String... optionalPrams, int a)
    4. Not possible

  • 2 To apply a range on the integer attribute of an entity in Room we can annotate it with:
    1. @IntRange( from=1, to = 12)
    2. @IntRange(1 - 12)
    3. @IntRange( min=1, max= 12)
    4. @IntRange( 1 ... 12)

Contact Us

Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert