Monday, May 31, 2004

A yahoo group on java Gui testing

http://groups.yahoo.com/group/java-gui-testing/
It maybe useful, sometime later.

Friday, May 28, 2004

Is BATA an Indian company ?

How many of you always thought BATA is an Indian firm ?
read this and break the myth

Thursday, May 27, 2004

Cleared SCWCD 1.3 !!

Score - 98%
Much more than what I expected. Khuda meharbaan tau gadha pehalvaan :)
- Resources

Now its time to get serious about my SCJD assignment.

Wednesday, May 19, 2004

Gmail is offering 1TB ?

You are currently using 1 MB (0%) of your 1000000 MB.

This is the message I see on my Gmail inbox page. Yeah ok.. You can count the zeroes again.
Is this a mistake ?
or is this a masterstroke from Google. When I heard for the first time about this 1 GB mail service from Google, I thought, they could actually make it “unlimited space” since very few people will even use up 1GB. Moreover, if someone really wants to upload 10GB, then he will just open 10 different accounts.
Lets wait to get confirmation over this.

Wednesday, May 12, 2004

PDF Creator software

For reference:
http://sourceforge.net/projects/pdfcreator/

PDFCreator easily creates PDFs from any Windows program. It adds a printer to the list of printers.

Tuesday, May 11, 2004

Sample Ant build file - From Indigo

http://www.geocities.com/chiragsdoshi/sample/build.xml

This is the build file I am using in Indigo Scheduler DVT. It uses the compile, jar , ftp and the telnet tasks.

Friday, May 07, 2004

StaticMethodNullObjectConfusion continued from Java IAQ

Look at my previous post about the StaticMethodNullObjectConfusion class example where a null object is used to invoke a static class without causing a NullPointerException.

It is now that I completely understand how it works.

It works since the binding of which method to call for nullObj.someStaticMethod(); happens at compilation time and not at Runtime. That is why it does not matter that the value assigned to the nullObj is null.
It will be interesting to see the results of this class's compilation using some ByteCode viewer tool. When Jimmy has some time I will ask him to join me this.

Java - Infrequently Answered Questions

The Java IAQ

Nice set of java questions here.

One that surprised :-O me:


public class StaticMethodNullObjectConfusion {
public static void someStaticMethod() {
System.out.println("someStaticMethod called");
}

public static void main(String args[]) {
StaticMethodNullObjectConfusion nullObj = null;
nullObj.someStaticMethod();
System.out.println("look maa!!, No NullPointerException");
}
}

The above main method runs without causing a NullPointerException, since while executing a static method only the type of the object being used for the call is considered and its value is ignored.