MCQOPTIONS
Saved Bookmarks
| 1. |
Which statement is correct about the C#.NET code snippet given below? Stack st = new Stack(); st.Push("Csharp"); st.Push(7.3); st.Push(8); st.Push('b'); st.Push(true); |
| A. | Unsimilar elements like Csharp ,7.3,8 cannot be stored in the same stack collection. |
| B. | Boolean values can never be stored in Stack collection |
| C. | Perfectly workable code |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |