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



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. Hi ,Razvan

I changed code as in you

View Tutorial          By: sanil at 2011-01-01 11:05:53

2. excellent to easy going
View Tutorial          By: murali at 2009-11-15 23:13:21

3. i want to know about basic requirement for jdbc ,
View Tutorial          By: Amit sharma at 2009-03-19 04:10:24

4. class loop8
{
public static voi

View Tutorial          By: ankush singh at 2011-11-04 16:26:36

5. Hi Sr,
I am doing u r program. I got error

View Tutorial          By: Dineshram P at 2011-09-06 14:11:00

6. thanks for giving the example of abstract class...
View Tutorial          By: mahesh at 2010-04-11 08:20:45

7. You know what will be usefull if we can use this
View Tutorial          By: mechkid at 2012-12-03 14:54:41

8. this is very good example.
View Tutorial          By: jyoti raman ray at 2010-10-13 22:17:09

9. Better theory for those who have just started.

View Tutorial          By: kunal at 2010-05-13 05:55:05

10. Very well explained and perfectly summarised.
View Tutorial          By: Sachin at 2009-08-30 12:39:27