Which technique/concept can be use toimplement multiple inheritances
in java?
1 answer:
Answer:
Interface
Explanation:
Java does not supports multiple inheritance by class, but we can implement multiple inharitacnce in java using interface, with interface we uses implements keyword.
Example-
Declare interface like below code -
interface parent{
}
and use in child class like below code -
class Child1 implements interface{
}
class Child2 implements interface{
}
You might be interested in
<span>CNET hope this helps</span>
The default RDP port is 3389 but can be configured in the range of <span>49152-65538</span>
Answer:
<body>
Explanation:
the content of the web page must be body.
A speaker sometimes is not able to capture the intended details since it is affected by homophones.
When two or more computers are connected it is called Local Area Network (LAN).