Question 1
Which of the following is NOT a feature of the Java platform?
A. Platform-independent bytecode
Platform-independent bytecode is a core selling point of the platform, so it is not the odd one out.
B. Manual deallocation of objects by the programmerCorrect answer
Java has no free/delete — memory is reclaimed automatically by the garbage collector, so manual deallocation is the one item that is not a Java feature.
C. Encapsulation through access modifiers
Access modifiers really do provide encapsulation in Java, so this is a genuine feature rather than the exception.
D. A large built-in class library
The extensive standard library is one of the platform's core strengths, not something Java lacks.
Explanation
Java has no free/delete — memory is reclaimed automatically by the garbage collector, and programmers cannot deallocate objects manually. The other three are core selling points of the platform.