Comment on Tutorial - BitSet example in Java By Lakshmi



Comment Added by : Confused

Comment Added at : 2011-08-16 14:02:06

Comment on Tutorial : BitSet example in Java By Lakshmi
Very new to Java and was hoping you could explain to me in as much detail as possible the purpose of the following code:

BitSet bitset1 = bitset.get(0, 15);
bitset1.xor(bitset.get(15, 30));
bitset1.xor(bitset.get(30, 45));
bitset1.xor(bitset.get(45, 60));
bitset1.xor(bitset.get(60, 75));
if(bitset1.isEmpty())

Thank you in advance...


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Please provide web.xml file for this example
View Tutorial          By: Girish at 2009-03-08 22:53:03

2. Thanks sir
View Tutorial          By: sivaraj at 2013-01-23 05:43:35

3. @Harshita you cannot test the SMS and call feature
View Tutorial          By: Anonymous at 2013-03-28 01:32:47

4. very simple example.....................
View Tutorial          By: kajal at 2015-08-22 09:28:16

5. Great explanations! I looked for other guides and
View Tutorial          By: A.Lepe at 2010-09-15 21:36:42

6. to know
View Tutorial          By: Parthasarathi.N at 2010-02-19 05:59:51

7. it is possible to write any synchronisation progra
View Tutorial          By: shashi kant mishra at 2013-10-14 02:54:25

8. Very good article on string , please also mentions
View Tutorial          By: Subham at 2014-04-29 18:01:04

9. Hi for Java beginners this is the right place to s
View Tutorial          By: Anon at 2009-02-01 21:14:28

10. EJB's can be deployed on multiple servers and when
View Tutorial          By: Tomek at 2011-09-12 12:29:07