Introduction to Java : Building Your First Application part-3
Applet Tag by Example Here is an example of the code we could use to place the Hello applet we created previously in a web page: <APPLET WIDTH = "200" HEIGHT = …
Continue readingApplet Tag by Example Here is an example of the code we could use to place the Hello applet we created previously in a web page: <APPLET WIDTH = "200" HEIGHT = …
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 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 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 readingJavaScript can be typed in any text editor like notepad and can be stored separately with file extension.js. Usually, it is stored as a part of the HTML …
Continue readingThis tutorial will teach you how to implement the tooltip rollover JavaScriptplugin using any custom form that you have. Tooltip rollovers are excellent for …
Continue reading