Category: Language

16
Jan
2016

Java – String, String Buffer and String Builder Classes

Creating strings: String greeting = “Hello World”;   public class StringDemo{ public static void main(String[] args) {…

16
Jan
2016

Java Tut – Character Class

Some escape sequence here : \t,\b,\n,\r,\f,\’,\”,\\ example: public class Escape { public static void main(String[] args) {…

16
Jan
2016

Java Tut – Numbers

Normally when we work with numbers, we use primitive data types such as byte,int,long,double, etc e.g: int…

15
Jan
2016

Java Tut – Decision Making

If statement: if(boolean_expression) { //Statement will execute if the boolean expression is true } e.g: public class…

15
Jan
2016

Java Tut – Decision Making

If statement: if(boolean_expression) { //Statement will execute if the boolean expression is true } e.g: public class…

15
Jan
2016

Java Tut – Decision Making

If statement: if(boolean_expression) { //Statement will execute if the boolean expression is true } e.g: public class…