Question Bank
1899 approved questions from the community
await can only be used inside async functions.
Object.seal() prevents adding or deleting properties but allows modification of existing properties.
Service Workers can intercept network requests and enable offline functionality.
What does Function.prototype.bind() return?
What are Symbols used for in JavaScript?
Anonymous functions can only be used as callback functions.
ES6 classes are fundamentally different from ES5 function constructors.
Template literals can span multiple lines without special characters.
What are getters and setters used for?
Debouncing delays function execution until after a specified time has elapsed since the last call.
JSON.stringify() can serialize functions.
What is prototypal inheritance in JavaScript?
The finalize() method in Java is recommended for resource cleanup in modern Java applications.
What is the difference between 'protected' and 'default' (package-private) access in Java?
What is the purpose of the 'throws' keyword in Java?
How does Java achieve security in its platform?
What is the Java Native Interface (JNI)?
What is polymorphism in Java?
Java's architecture-neutral design allows it to scale across different hardware and software configurations.
Why can't primitive types be used with Java generics?