Core Java Interview Questions and Answers (2024) - InterviewBit 1
Core Java Interview Questions and Answers (2024) - InterviewBit 1
Join our community and share your recent Java interview experiences.
Create a free personalised study plan Create a FREE custom study plan
Get into your dream companies with expert guidance
Get into your dream companies with expert..
Real-Life Problems
Prep for Target Roles
Custom Plan Duration
Flexible Plans
Create My Plan
2. Why is Java not a pure object oriented language?
Java supports primitive data types - byte, boolean, char, short, int, float, long, and double and hence it
is not a pure object oriented language.
3. Difference between Heap and Stack Memory in java. And how java utilizes this.
Stack memory is the portion of memory that was assigned to every individual program. And it was
fixed. On the other hand, Heap memory is the portion that was not allocated to the java program but
it will be available for use by the java program when it is required, mostly during the runtime of the
program.
Start Test
https://www.interviewbit.com/java-interview-questions/ 2/2