Java Tutorials

371. The continuing Revolution of java

By: aathishankaran : 2007-02-01

Description: The initial release of java was nothing short of revolutionary, but it did not mark the end of java's era of rapid innovation. Unlike most other software systems that usually settle into a pattern of small, incremental improvements, java continued to evolve at an explosive ace. Soon after the release of java1.0, the designers of java had already created java1.1. The features added by java 1.1 were more significant and substantial than the increase in the minor revision number would have you think. Java 1.1 added many new library elements, redefined the way events are handled by applets, and reconfigured may features of the 1.0 library. It also deprecated (rendered obsolete) several features originally defined by java 1.0. Thus, java 1.1 both added and subtracted attributes from its original specification.


372. Polymorphism, Encapsulation, and Inheritance work together

By: aathishankaran : 2007-02-01

Description: When properly applied, polymorphism, encapsulation, and inheritance combine to produce a programming environment that supports the development of far more robust and scalable programs than does the process-oriented model. A well-designed hierarchy of classes is the basis for reusing the code in which you have invested time and effort developing and testing. Encapsulation allows you to migrate your implementations over time without breaking the code that depends on the public interface of your classes. Polymorphism allows you to create clean, sensible, readable, and resilient code.


373. Operators in java

By: aathishankaran : 2007-02-01

Description: Programs are required to perform a lot more than just simple input and output operations. All computer languages provide tools for some predefined operations. These tools are known as operators.


374. Nested if in java

By: aathishankaran : 2007-02-01

Description: The if constructed in java can be nested. In other words, an if construct can be present inside the body of another if construct.


375. How to Send SMS using Java Program (full code sample included)

By: Emiley J. : 2006-12-17

Description: You can use this free Java sample program to send SMS from your PC using GSM modem connected to your computer to your COM port. You also need to download and install the Java comm api from Sun.


376. Data Types and Vairables in Java

By: PriyaBabu : 2006-12-15

Description: Here we are going to discuss about the various data types and it's functionality and also how the variables are declared in Java


377. The Basic Structure of a Simple Java program

By: PriyaBabu : 2006-12-11

Description: This simple java program is to understand the basic structure of a java application


378. Write to a COM port using Java program

By: Steven Lim : 2006-12-11

Description: Most projects that deal with hardware and devices, needs to communicate with them using the COM port of the PC or Server. For example if there is a modem that is connected to a server via its COM port and the Java program has to send some AT commands to the modem then the Java program has to write to the COM port.


379. Read from a COM port using Java program

By: Steven Lim : 2006-12-11

Description: Most projects that deal with hardware and devices, needs to communicate with them using the COM port of the PC or Server. For example if there is a modem that is connected to a server via its COM port and the Java program has to read the output of the modem then the Java program has to read the COM port for any incoming data.


380. Connect to a password protected URL from Java program

By: Mike Cooper : 2006-12-11

Description: It is quite common for a Java program to connect to an URL and process its data or post data to it. Some URLs are password protected and can be connected to it only with a username and password. While manually accessing such sites, the browser will popup a login screen automatically for the user to key in username and password. But if you are connecting from a Java program then how can you do this login programmatically.