Skip to content
a) Integer is a class defined in the java. lang package, whereas int is a primitive data type defined in the Java language itself. Java does not automatically convert from one to the other. b) Integer can be used as an argument for a method that requires an object, whereas int can be used for calculations.
Categories Core Java Interview Questions
Tags complete notes on core java in java , complete tutorials on core java in java , core java in java interview questions , core java in java notes , core java in java questions asked in companies , core java in java questions asked in interview , core java in java questions asked in mnc , core java in java questions for interview , core java in java tutorials , core java java interview questions , faq for core java in java , faq on core java in java , interview questions on core java in java , java 10 features , java 10 interview questions and answers , java 11 features , java 11 interview questions and answers , java 12 features , java 12 interview questions and answers , java 13 features , java 13 interview questions and answers , java 14 features , java 14 interview questions and answers , java 15 features , java 15 interview questions and answers , java 16 features , java 16 interview questions and answers , java 6 features , java 6 interview questions and answers , java 7 features , java 7 interview questions and answers , java 8 features , java 8 interview questions and answers , java 9 features , java 9 interview questions and answers , latest interview questions on core java in java , most asked core java in java interview questions , notes on core java in java , rapid fire on core java in java , rapid fire questions on core java in java , top interview questions on core java in java , tutorials on core java in java , updated interview questions answers on core java in java
Post navigation