บทความ

กำลังแสดงโพสต์จาก กันยายน, 2011

Oracle ปัดเศษ แบบต่างๆ

บทความเกี่ยวกับ : Oracle ปัดเศษ แบบต่างๆ คำสั่งปัดลงตลอด select floor(1.1) from dual   // 1 คำสั่ง ปัดขึ้นตลอด select ciel (1.1) from dual // 2 คำสั่งปัดเศษแบบต่างๆ round(10.25) from dual  // 10 round(10.65) from dual  // 10.1 ลองเอาไปใช้กันดูนะคร้าบบ

JAVA Keywords คำสงวนหรือ Reserved Word ในภาษา จาวา

บทความเกี่ยวกับ : JAVA Keywords คำสงวนหรือ Reserved Word ในภาษา จาวา วันนี้ไม่มีอะไรมากครับเคยเห็นเวลาทำข้อสอบแล้วมักจะมีการถามเรื่องนี้อยู่บ่อยๆ เลยเอามาฝากกันซักหน่อย คำสงวนในภาษา Java คือคำที่ห้ามนำไปใช้ในการ ตั้งชื่อ Class , Method ตลอดจนชื่อ ตัวแปร ต่างๆ มีดังต่อไปนี้ครับ 49 Reserved ใน Java abstract, assert, boolean, break, byte, case, catch, char, class, const, continue, default, do, double, else, extends, final, finally, float, for, goto, if, implements, import, instanceof, int, interface, long, native, new, package, private, protected, public, return, short, static, strictfp, super, switch, synchronized, this, throw, throws, transient, try, void, volatile, while อย่าเผลอเอาไปใช้นะครับพี่น้อง หุหุ