devxlogo

May 8, 1999

Java Virtual Machine Doesn’t Exit

You may have been surprised and frustrated to find that in some cases, the Java Virtual Machine (JVM) does not stop running when your application exits the static main() method.

Shortcut for if-else in JavaScript

JavaScript has C-like syntax. Therefore, it is possible to use the ?: conditional operator, which is a shortcut for the if-else block: Expression?true part:false part Try this example:

Full Context Searching

One of the hardest tasks until now has been supporting searches on text fields. As we know, indexes can’t be built on text fields and so searches on these fields

Unwinding the Stack

When an exception is thrown, the runtime mechanism first searches for an appropriate handler (a catch statement) for it in the current scope. If such a handler does not exist,