Tips for heathy life

Tips for heathy life

Jumat, 31 Oktober 2008

Selection Operator 1 in Java

String status = ""; int grade = 80; //mendapatkan status pelajar status = (grade >= 60)?"Passed":"Fail"; //print status System.out.println( status...

Logical NOT Operator in Java

boolean val1 = true; boolean val2 = false; System.out.println(!val1); System.out.println(!val...

Relation Operator

I want to share about relation operator. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article. ---------------- int i = 37; int j = 42; int k = 42; System.out.println("Nilai variabel..."); System.out.println(" i = " + i); System.out.println(" j = " + j); System.out.println(" k = " + k); //lebih besar dari System.out.println("Lebih besar dari..."); System.out.println(" i > j = " + (i > j)); //false System.out.println(" j > i = " + (j > i)); //true System.out.println(" k >...

VERIFIED PASSWORD and USER NAME in Java SE

String user=""; String pwd=""; user = JOptionPane.showInputDialog("Masukkan username anda : "); pwd = JOptionPane.showInputDialog("Masukkan password anda: "); String msg = "Welcome to java programming language, " + user + " !"; String msg2 = " Verfikasi password anda: " + "password anda = "+pwd; JOptionPane.showMessageDialog(null, msg); JOptionPane.showMessageDialog(null, msg...

Kamis, 30 Oktober 2008

Find for the last word from JOPTIONPANE version in J2SE

Normal 0 false false false EN-US X-NONE X-NONE ...

Find for the last word from BUFFEREDREADER version in J2SE

Normal 0 false false false EN-US X-NONE X-NONE ...

Average FIGURE FROM THREE in J2SE

Normal 0 false false false EN-US X-NONE X-NONE ...

Recognized and print variable

Normal 0 false false false EN-US X-NONE X-NONE ...

Delete characters WHITESPACE AND FROM THE FINAL any string in J2SE

Normal 0 false false false EN-US X-NONE X-NONE ...

FIND OF POSITION any string in the string OTHER in J2SE

Normal 0 false false false EN-US X-NONE X-NONE ...