3i Infotech Placement: Sample Questions 738 - 739 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 738

Edit

Write in Short

Short Answer▾

What must a class do to implement an interface?

Explanation

  • Provide definitions for methods in the interface and identify the interface in its implements clause.
  • A class can implement more than one interface.
  • Implements keyword is followed by a comma-separated list of the interfaces implemented by the class.

Question 739

Question

MCQ▾

What is a RADIO GROUP?

Choices

Choice (4)

a.

Mutually exclusive

b.

Select more than 1 column

c.

All of the above

d.

Question does not provide sufficient data or is vague

Answer

a.

Explanation

Define Radio Group
  • A group of radio buttons provides user with a choice of operations or data to use in a query- called radio group.
  • Radio group is mutually exclusive.
  • Perfect way to represent an enumeration.
  • The control returns a numeric value to indicate its state.
  • We can change the value for radio button control with the value property.
  • The data block consists of 3 particular radio groups.

    Different Types of RADIO GROUP

  • Radiogroup
    • The statement type of radio group
    • Displays the text and provides a return value.
  • Radiogroup with Redirect
    • Does not submit the page for processing, but it will redirect the page back.
    • Used to set session state for the item, but not submit.
    • Used when something else on the page may depend on the value for the radio group a condition.
  • Radiogroup with submit
    • Submits the page when an item in the radio group is selected.
Different Types of Radio Group

Developed by: