# 3i Infotech Placement: Sample Questions 245 - 247 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 245

### Question

MCQ▾If the sum of the roots of the equation 0 is equal to the sum of the squares of their reciprocals then are in

### Choices

Choice (4) | |
---|---|

a. | GP |

b. | HP |

c. | AP |

d. | All of the above |

### Answer

b.### Explanation

- Consider, be the roots of this equation then,
… equation 1

- Now, it is given that sum of roots is equal to square of reciprocal of roots
- Now putting value of and from equation 1
… equation 2

- Now let are in HP then
- This result is similar to equation
- Therefore, these terms are in HP.

## Question 246

### Explanation

Java | C ++ |

No semicolon. | End with a semicolon. |

Modifiers can be added to each data field or method individually. | Divided into major sections by private, protected and public. |

Extends to indicate inheritance from a parent class. | Class A, B, C, D to indicate inheritance. |

Class contains member function implementation. | Member function implementation can be external to class. |