Tip Bank

DevX

Print “Hello World” in a Mobile Phone Using J2ME

Use a simulator to see the output: import javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class HelloWorld extends MIDlet implements CommandListener { private Command exitCommand; private TextBox tbox; public HelloWorld() { exitCommand = new Command(“Exit”,

DevX

Preserve the Sequence of Web Methods

The .NET Framework generates a service help page when accessing the asmx page for a Web service. This page lists the Web methods exposed by the Web service, but doesn’t

DevX

Top 10 Tips from the DevX Tip Bank

or years, DevX readers have been submitting their hard-learned tricks and workarounds to share with others. In a few short weeks, DevX will be overhauling our Tip Bank, adding new

DevX

Inserting Elements into Arrays

This tip demonstrates how to add an element to a particular position in an array and how to shift all elements in and above that position up one position. Using

DevX

The Enhanced For Loop

In the field of information technology, what counts more is the early adaptation of the new features that come with every new version of software. Coming up with the JDK