Common escape sequences
\n new line \t tab \r return \" quotation mark \\ backslash
Read More →\n new line \t tab \r return \" quotation mark \\ backslash
Read More →Naming recomendation: start variable names with a lowercase letter and capitalize the first letter in all words. Each variable […]
Read More →Every Java program contains one or more methods, which are pieces of code that perfiom tasks. Every application has […]
Read More →The code for each class is stored in a *.java file. public|private class ClassName { statements } Two access […]
Read More →There types of comments: /** * Block comment */ // single line comment x++; x++; // end of line […]
Read More →Here is a quick tip about how to view the specified Java class hierarchy in Eclipse IDE. As usual, […]
Read More →The Classpath tells the JRE where to find the .class files. A typical Classpath variable is: .;\c:\java\classes; The '.' […]
Read More →Start -> right click My Computer -> properties. Advanced Settings Tab click Environment Variables Create a JAVA_HOME value pointing […]
Read More →Defaul directory for the JDK is, C:\Program Files\JAVA\jdk1.6.0\bin I will use C:\JAVA\jdk1.6.0\bin Directory information BIN – The JAVA development […]
Read More →