Win a copy of Terraform in Action this week in the Cloud forum!

Qi Liang

Greenhorn
+ Follow
since Jun 04, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Qi Liang

The staic class is generally used as static nested class like "In" in you code. The methods in static nested class can not access the member of outer class.



Also, I do not think static class just has only one instance. It can have more than one instance.
16 years ago
I think whether abstract method is defined is not the key that one interface becomes interface. Any way, in practice, the marker interface is used widely.
16 years ago
Why don't you try to debug it to see where the NPE is thrown?
16 years ago
One reason is the primitive types, like int, double and so on.
16 years ago
You can use java.text.format.DateFormmater to parse "12:30" with your pattern to a java.util.Date object. Then use methods in java.util.Date to do any you want.
16 years ago
A good example is java.io.Serializable.

The marker interface works like a boolean flag to indicate the class implementing this interface has some capability, but there is not method involved.
16 years ago


are members of the class Test, right?

If so, 't' and 't1' in both CODE1 and CODE2 share one static b.

===============================================================

Where to go after seven years' development?
16 years ago
The error is raised by class loader. It must have loaded java.lang.String from JRE.
16 years ago
PHPBB is open source forum based on PHP, and has a lot of resource.

Cliff Liang
It works.

Thanks!

Cliff Liang
Hi,

I have some CSS files used in current product. Now I am required to generate HTML with XLST from XML data. But I am not sure whether I can use the CSS style in XSLT?

Thanks!

Cliff Liang
I'd like to expose some public methods in one public class and hide some public methods, which seems the DLL export in C++. But I can not find how to support this. Do you hava idea on it?

Thanks!
16 years ago
I installed J2SDK 1.4 in the windows with the locale "Chinese", and got the default locale, which is "Chinese". When I changed the OS locale to "Greece" and rebooted, "Greece" is returned with Locale.getLocale() in windows 2000. But "Chinese" is returned with Locale.getLocale() in windows XP.

I deduced that JVM must have got the wrong default locale from windows. Do you touch the part that JVM get system locale?

Thanks

Cliff Liang
16 years ago
I didn't find SystemDate in J2SE API.
17 years ago
Yes. But you should be careful for JBoss take EJB 1.2 as default.
17 years ago