
As the total distance between A and G is equal to E and D i.e. 20 km. So BD = 20 – (10 + 1) = 9 Km.
Hence, the distance between B and D is 9 km

As the total distance between A and G is equal to E and D i.e. 20 km. So BD = 20 – (10 + 1) = 9 Km.
Hence, the distance between B and D is 9 km
No discussions yet. Be the first to start!
You must be logged in to participate in the discussion.
login Login to DiscussInheritance
The capability of a class to derive properties from another class is called Inheritance
Syntax for Inheritance
class derived_name : access_mode base_class
{
//body of derived class
};
Additional Information
Polymorphism
Polymorphism is mainly divided into two types:
Compile-time polymorphism
This is achieved by function overloading or operator overloading.
Run Time Polymorphism
It is achieved by Function Overriding.
Conclusion
Feature of Reusability is followed by inheritance so the correct answer is the inheritance.
Concept:
Software maintenance:
Any changes done in the software during its execution such as error correction, optimization etc. is software maintenance. Its objective is to preserve the value of software over time.
Explanation:
Types of software maintenance are:
Perfective maintenance: when there are new requirements from user side, then at that time changes made in the software is known as perfective maintenance. It makes the software more enhanced, clean structured, better than previous.
Adaptive maintenance: Changes done in the software environment that includes any work initiated as consequence of moving the software to different hardware or software is known as adaptive maintenance.
Preventive maintenance: It prevent software from future problems.
Corrective maintenance: It is related with fixing the errors. Changes done when there is defect or error in the software is known as corrective maintenance.If ‘P’ is replaced by ‘+’, ‘Q’ is replaced by ‘-’, ‘R’ is replaced by ‘×’ and ‘S’ is replaced by ‘÷’, find the value of the following expression.
70S7P21R2Q15
Given,
| Code | P | Q | R | S |
| Symbol | + | - | × | ÷ |
Given Expression: 70S7P21R2Q15
According to question :
=70 ÷ 7 + 21 × 2 – 15
Using BODMAS rule,
=10 + 21 × 2 – 15
= 10 + 42 – 15
= 52 – 15
= 37
Hence, value of the given expression is ‘37’.
Select the option that is related to the third term on the same basis as the second term is related to the first term.
Iraq : Dinar :: Korea : ?
The logic followed is:
The second is the currency of the first.
| Country | Currency |
| Iraq | Dinar |
| Korea | Won |
| Japan | Yen |
Hence, the correct answer is "Korea : Won"
Complete the given series.
D23, ______, L15, P11, T7, X3For alphabet: Increase by + 4
D + 4 → H + 4 → L + 4 → P + 4 → T + 4 → X
For Number: Decrease number by - 4
23 – 4 → 19 – 4 → 15 – 4 → 11 – 4 → 7 – 4 → 3
Hence, “H19” will complete the series.