Introduction to Java : Building Your First Application part-2
Writing Applets Applets are programs that run inside of a web page using the resources the web browser has to offer such as a Java Virtual Machine (JVM) and the …
Continue readingWriting Applets Applets are programs that run inside of a web page using the resources the web browser has to offer such as a Java Virtual Machine (JVM) and the …
Continue readingArray Fuctions – array() The array() function allows you to manually assign values to an array. Here is the syntax of the array() function: $array_name = …
Continue readingBuilding an Application Okay, so now let’s look at the rest of the Test class because the Test class is pretty special. The Test class is actually a very small …
Continue readingDefining a Class So right after the “public” keyword, we see the “class” keyword. The class keyword is used to specify that the following statement block …
Continue readingMake your site look like you actually update it! In php create a script that receives the date current date! So people might actually think you update it. Well, …
Continue readingOperator Overloading Another cool feature of Java is that methods in Java can easily be overloaded such that the same method name can be used for several …
Continue readingClasses OK, so now that we understand the most basic Java syntax it is time to learn how object-oriented design is implemented in Java. The essential unit of …
Continue readingOperators Java also provides several operators that you can use to manipulate your variables. Mathematical Operators As in all languages, Java allows you to …
Continue readingStrings As you may have noticed, in Java, there is no variable type called string. However, although Java does not have a built-in String type, it does provide …
Continue readingData Types Java is a “strongly typed language”. That means that type of every variable must be declared. Consider the following simple variable assignments: …
Continue readingComments It is often the case that you want to include comments within your Java code. Comments are little bits of documentation embedded in the actual code …
Continue readingThe HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache …
Continue reading