Syvum Home Page

Home > Quiz Games > Java Programming >

Java Programming : Flash Cards III


Learn Java programming through these flash cards.

Formats Worksheet / Test Paper Quiz Review
Flash Cards



What is the output of the following program:
class MainString
{
public static void main(String args[ ])
{
StringBuffer s = new StringBuffer("String");
if(s.length()>5) &&
(s.append("Buffer").equals("X")
; // empty statement

System.out.println(s);
}
}
 



Print Flashcards
Create Your Own Flash Cards


Contact Info © 1999-2017 Syvum Technologies Inc. Privacy Policy Disclaimer and Copyright