Stack st = new Stack&#40;&#41;;st.Push&#40;&quot;Csharp&quot;&#41;;st.Push&#40;7.3&#41;;st.Push&#40;8&#41;;st.Push&#40;'b'&#41;;st.Push&#40;true&#41;;
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:A
Stack st = new Stack&#40;&#41;;st.Push&#40;&quot;Csharp&quot;&#41;;st.Push&#40;7.3&#41;;st.Push&#40;8&#41;;st.Push&#40;'b'&#41;;st.Push&#40;true&#41;;
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
Explanation: None.