The document presents a Java program that performs logical operations using boolean variables. It initializes two boolean values, 'a' and 'b', and evaluates their logical AND and OR results. The output displays the values of 'a', 'b', and the results of the operations 'a & b' and 'a | b'.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
4 views
Practical2.1Java
The document presents a Java program that performs logical operations using boolean variables. It initializes two boolean values, 'a' and 'b', and evaluates their logical AND and OR results. The output displays the values of 'a', 'b', and the results of the operations 'a & b' and 'a | b'.
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More