Basic Java Q's

  • 1. Abstract Classes Versus Interfaces ?
    Ans.
    http://www.fatorx.com.br/ArtigoMostra.asp?intArtigoID=66


  • 2. String Versus StringBuffer ?
    Ans.
    The Java development environment provides two classes that store and manipulate character data:
               String, for constant strings, and StringBuffer, for strings that can change.
               http://developer.java.sun.com/developer/qow/archive/89/


  • 3. How to Convert String to ByteArray and vice versa ?
    Ans.
    Simple Solution