quick java question

Posted by mark on Stack Overflow See other posts from Stack Overflow or by mark
Published on 2010-03-23T23:08:59Z Indexed on 2010/03/23 23:13 UTC
Read the original article Hit count: 140

Filed under:
|

hi, im currently learning stacks in java and have a quick question. what will the following code display if the stack is empty? my guess would be "true"?

System.out.println(st.isEmpty());

© Stack Overflow or respective owner

Related posts about java

Related posts about stacks