Saturday, December 27, 2008

This works!

Here is a funny java code snippet for the hebrew speakers among us, this actually compiles:

package com.codeark.rnd;

public class הקלאס {

private static String יניב = "123123";

public static void מתודה(String משתנה) {
System.out.println(משתנה);
}

/**
* @param args
*/
public static void main(String[] args) {
System.out.println(יניב);
מתודה("asdasd");
}

}
Funny :)

p.s. the static member is named יניב and its value is "123123"