Consider the following statements:
1. RAM is a non-volatile memory whereas ROM is a volatile memory
2. RAM is a volatile memory whereas ROM is a non-volatile memory
3. Both RAM and ROM are volatile memories but in ROM data is not when power is switched off
Which of the above statements are correct?1
1 only
2
2 only
3
3 only
4
None of the above