Question: what is the difference between boolean and boolean in java?
Answer: boolean is a primative and Boolean in an object wrapper. as to the difference between boolean and Boolean object types. ... boolean is a primitive type whereas Boolean is wrapper class. Same applies for (int,Integer),(long,Long) etc.