Practice your Java SE 8 Programmer II certification test with free 1Z0-809 exam cram and take control of your certification preparation. At FreeExamCram, you can practice online for free using real 1Z0-809 exam dumps, verified questions, and expert-designed free online practice tests. Moreover our Oracle 1Z0-809 exam cram backed by our confidence-boosting refund guarantee.
Given the code fragment:

Given code of Test.java file:
1. package com.udayan.ocp;
2.
3. import java.util.ArrayDeque;
4. import java.util.Deque;
5.
6. public class Test {
7. public static void main(String[] args) {
8. Deque
9. deque.push(new Boolean("abc"));
10. deque.push(new Boolean("tRuE"));
11. deque.push(new Boolean("FALSE"));
12. deque.push(true);
13. System.out.println(deque.pop() + ":" + deque.peek() + ":" + deque.size());
14. }
15. }
What will be the result of compiling and executing Test class?
Given:


Given the code fragment:
© Copyrights FreeExamCram 2026. All Rights Reserved
We use cookies to ensure that we give you the best experience on our website (FreeExamCram). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeExamCram.