This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Explain please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Explain please" Watch "Explain please" New topic
Author

Explain please

RAM KUMAR M.
Greenhorn

Joined: Dec 19, 2005
Posts: 10
program:

class A
{
public static void main(String args[])
{
boolean a=false;
boolean b=false;
boolean c=false;
boolean d=true;
System.out.println(a&=b);
System.out.println(" ");
System.out.println(c=c||d);
}
}


output is

false true


I didn't understand this program
any body explain
pls..
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
[CODE]


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
 
jQuery in Action, 2nd edition
 
subject: Explain please
 
Similar Threads
doubt in || and &&
operator
Regarding Boolean
Conditional Operators
how to create a boolean truth table