How do I tell the java compiler to allow public as the package name?

In the GWT code, I use a Java sub package named public, which contains HTML / CSS / etc Documents

I noticed that the java compiler output does not contain this sub - package and its contents

I want this for testing purposes Do you know how to tell the java compiler to include this sub package and its contents?

Solution

You can't... it's a reserved word

i 'm sorry.

http://www.jwrider.com/riderist/java/javaidrs.htm

edit

and

http://download.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html

Thank you @ Joachim

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>