Question Bank
1085 approved questions from the community
What does the 'public' access modifier mean in Java?
The Bootstrap ClassLoader in Java is written in Java code.
Java bytecode consists of instructions that are specific to the underlying hardware architecture.
What is the purpose of exception handling in Java?
The JVM can execute Java source code (.java files) directly without compilation.
What is the purpose of auto-boxing in Java?
What is unboxing in Java?
Primitive types in Java can be assigned a null value.
Which tag is used to create a paragraph in HTML?
What is the purpose of the `<small>` tag in HTML5?
What is the correct DOCTYPE declaration for an HTML5 document?
The HTML5 specification requires a closing tag for the `<script>` element.
HTML5 introduced new semantic elements like `<header>`, `<footer>`, and `<nav>` to improve code structure and accessibility.
Which HTML tag is used to define the root element of an HTML page?
The `<br>` tag requires a closing tag like `</br>`.
Semantic HTML tags affect both the meaning and the default visual presentation of content.
What is the correct syntax for adding a comment in HTML?
HTML comments are visible to website visitors in their browser.
The `<body>` section contains all the visible content that users see and interact with on a web page.
The DOCTYPE declaration is an HTML tag that defines the document structure.