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
- In the Relational Database Model, data is organized into:
- A relation R(A,B,C,D) has functional dependencies A→B and B→C. Which statement follows?
- Given a binary tree, a "zigzag" level order traversal prints the nodes level by level, but alternating the order of nodes from left-to-right and right-to-l...
- In an Object-Oriented program, which control flow construct is primarily used to handle unexpected events or errors that occur during program execution, su...
- Which isolation level allows dirty reads?
- Transaction T1 updates a row but has not yet committed. Transaction T2 reads this same row's uncommitted new value. T1 then rolls back, meaning T2 has read...
- Which of the following illustrates an advantage of DBMS over traditional file systems?
- Which of the following is NOT a type of database model?
- Which of the following ACID properties ensures that either all operations within a transaction are completed successfully, or none are?
- Indexes improve query performance but can degrade performance of:
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)