Question
Examine the following Java-like code: ```java class Parent { String name = "Parent"; public void display() { System.out.println(name); } } class Child extends Parent { String name = "Child"; // No display method override } public class Main { public static void main(String[] args) { Parent p = new Child(); p.display(); } } ``` What will be the output?
More IT DBMS Questions
- Which deadlock prevention scheme allows older transactions to preempt younger ones?
- A B-tree index has an order of 100 (up to 100 children per node) and stores 1,000,000 records. Approximately what is the height of this B-tree?
- What is referential integrity?
- Which SQL command is used to remove a table from the database?
- A relational database management system needs to store millions of employee records on disk and support fast search, insertion, deletion, and range queries...
- Distributed 2-Phase Commit (2PC) can suffer from:
- Consider a `Stack` data structure implemented with `push` and `pop` operations. What is the final state of the stack after the following sequence of operat...
- Transaction T1 reads a row twice within the same transaction. Between the two reads, T2 commits an update to that row, and T1's second read returns the new...
- In an Object-Oriented program, which control flow construct is primarily used to handle unexpected events or errors that occur during program execution, su...
- A view is created by joining two tables using an INNER JOIN and includes a GROUP BY with an aggregate function. Which statement about this view is correct?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)