Multiple inheritance causes Diamond problem which happens when:
Class A is parent of class B and C
Now when class D will be inherited from both Class B and C it will have all the members of class A and B which if same will confuse the compiler to import which one?
C++ solves it by using virtual keyword with them and thus telling the compiler which one to inherit.
Java has introduced the interface concept rather then allowing multiple inheritance.
Answer:
False
Explanation:
Plug and play devices are computer peripheral devices that can be used immediately, with little or no necessary configuration when plugged or connected to the computer system.
Printers are mostly electronic devices used as an output of a hard copy of a computer system application document. They are not part of the computer system (peripheral devices). They come with installation disk which a computer must install, in order to be able to use the printer.
Yes they are peripheral devices, but they are not plug and play devices since its software must be installed on the computer, to use it
Answer:
windows xp
Explanation:
I think because it is not fast and don't play the games and programs which have higher requirements
Some component of the hardware are central processing unit (CPU), monitor, mouse, keyboard, computer data storage, graphics card, sound card, speakers and motherboard.
I’m sure theirs more but here’s so. Hope this helps!
number = 547
nums = {1:"one", 2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine"}
print("The last digit of",number,"is",nums[number%10])
I wrote my code in python 3.8. I hope this helps.