Hi James, "boolean" is used for primitive data types and the other one "Boolean" used for boolean object(i.e Boolean Wrapper class object) in Java. if u want u'r method to check the value "true" or "false", then use boolean isB().If that is not the case, u wanna return Boolean object, then I think u can write Boolean method(). -------------- Nayan.
James, why would you want the method to return a Boolean instead of a boolean?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus