作为一名程序猿,下面一段代码有木有让你鸡冻呢?
GirlFriend mine=null;
for(int i=0;i<20;i++){
try {
mine=new GirlFriend( new BeautifulGirl() );
Thread.sleep(1000*60*60*24*30);
} catch (InterruptedException e) {
mine.sayGoodbye();
cont
}.
}
作为一名web程序猿,看下面一条SQL语句,你是不是有同感呢
select *
from women w
where w.age >= 18
and w.age <= 25 w.statue = '单身'
and w.face>3--(1。恐龙 2.普通。3.一般。4.正点。5.漂亮。6.明星。7.天仙)
and w.relation = '张三'
The Result is null。。。。。。。
面向对象 web sql 吐槽 苦逼
------解决方案--------------------

and w.relation = '张三'

这个是干嘛的
------解决方案--------------------
select *
from women w
where w.age >= 18
and w.age <= 25 w.statue = '我的'
and w.face>3--(1。恐龙 2.普通。3.一般。4.正点。5.漂亮。6.明星。7.天仙)
and w.relation = '张三'
