Answer:
Explanation:
1. The answer is No, interface cannot have constructors. ... In order to call any method we need an object since there is no need to have object of interface, there is no need of having constructor in interface (Constructor is being called during creation of object).
2.A final class is considered complete and can not be subclassed (It's methods can not be overridden ). In case of abstract class, we have to proved implementation to abstract methods in subclasses. A final class can not have abstract methods and an abstract class can not be declared final.
3.private constructors are acceptable, however the class should be marked final instead, as doing so means the class is to be extended.
4.Yes! Abstract classes can have constructors! Yes, when we define a class to be an Abstract Class it cannot be instantiated(i.e an object cannot be created) but that does not mean an Abstract class cannot have a constructor. Each abstract class must have a concrete subclass which will implement the abstract methods of that abstract class.
<em><u>Answer:</u></em>
<em><u>1. Pedestrians - Most of pedestrians use to walk on the footpath along side road that keeps them on a safe side. But there are places without footpath along side road, in that case they have to walk on the road itself. Here, we need to take care for them. We need to wait in case they are crossing road and also check for them while taking a turn.
</u></em>
<em><u>
</u></em>
<em><u>2. Cyclists - They travel on road but are tough to figure out. They travel at a slower pace compared to cars. To avoid any accident with them, we are supposed to give them enough space which should be equivalent to a car's space.
</u></em>
<em><u>
</u></em>
<em><u>3. Motorcyclists - They can pass by very closely and also come between lanes. Most of the things to be considered here are same as that of cyclists. Here also, we need to check for them carefully while taking a turn. Also, need to give them enough space.</u></em>
<em><u>Explanation:</u></em>
U can use Bluetooth connect your computer to the android. <span />
Answer:
var applesToBuy = readLine("How many apples would you lik
e? ");
Explanation:
It asks the user to enter answer the question and it stores the answer into the applesToBuy variable.
Its right dont worry.
Answer: the third one
Explanation:
just trust me, the other ones dont mke sense to what I know about the subject, which is a lot