What is the difference between Java and JSP?

Everyday I’ve learned new things. I came across java2s.com website and read Java tutorials. There’re so many things to learn about Java compared to PHP. The Java language and its libraries are very complex; that’s why it has a broader usage such as building apps for devices, TV, Websites, applications…, you name it. As Java is a Programming language you can use the Java to design data application software, Web applications , Embedded Circuit Programming and a lot more. It is like the VB programming…

Continue reading »

Math Class Methods in Java

Function Description IEEEremainder(double, double) Returns the remainder of f1 divided by f2 as defined by IEEE 754 abs(int a) Returns the absolute integer value of a abs(long a) Returns the absolute long value of a abs(float a) Returns the absolute float value of a abs(double a) Returns the absolute double value of a acos(double a) Returns the arc cosine of a, in the range of 0.0 through pi asin(double a) Returns the arc sine of a, in the range of -pi/2 through pi/2 atan(double a)…

Continue reading »

Java Modifier Summary

Modifier Used on Meaning abstract class interface method Contains unimplemented methods and cannot be instantiated. All interfaces are abstract. Optional in declarations No body, only signature. The enclosing class is abstract final class method field variable Cannot be subclassed Cannot be overridden and dynamically looked up Cannot change its value. static final fields are compile-time constants. Cannot change its value. native method Platform-dependent. No body, only signature none(package) class interface member Accessible only in its package Accessible only in its package Accessible only in its…

Continue reading »