Some questions

  I've not been there a time,as study is not very luck.More forward,More hard.This is not a good feeling,sometime make you lost.But as the old saying: the life will continue.So whatever how hard it is,we need stick to. Or that will be the worse thing.

  Although,I didn't read too much about java,I've see some questions.As follow:

1.When using the java.securtity.policy property,what is the difference between using the equals sign "=" and the double eauals sign "==" when specifying the policy file name?The book tell me the former is creating a "final policy" by doing a union of all granted permissions in all policy files,and the later is ignore any policy file definitions in the java.security file and only use the policy files specified.I think i can understand the later one,but the oter can't.Is that using all policy in the java.security file?

2.About the notify() method.As you know,in the Object class there are notify(),notifyAll(,),and wait() method.In my view,we can use notify() to remove a thread from the object wait queue and make it runnable.But there is another say that when an object has multiple Threads waithing for it,there is no way to control which of the waiting Threads will be notified.So I don't know which one is right and what is the notify() method do?

These are questions,I don't know if you can understand my weak writing. So thank you very much and thanks for your suggestions. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值