Question
In Object-Oriented Programming, which of the following Java code snippets correctly demonstrates inheritance ? class Animal { void sound () { System.out.println( "Animal makes a sound" ); }} class Dog extends Animal { void sound () { System.out.println( "Dog barks" ); }}
More Basics of Computers Questions
- In the Least Recently Used (LRU) page replacement algorithm, given the following reference string 4, 2, 4, 1, 5, 2, 3, 4, and assuming 3 frames, how many p...
- Which of the following is a characteristic of an intelligent agent?
- Which of the following memory types is the fastest?
- In data communication networks, which protocol is responsible for ensuring reliable data transfer between devices over a network?
- Predict the correct output of below code in python Greeting = lambda : print('Welcome to Ixambee’) Greeting()
- What type of firewall inspects packets and determines whether they are allowed based on pre-established rules?
- Predict the program output void main () { int x = 128; printf ("n%d", 1 + x++); }
- Which of the following is NOT considered a core characteristic of cloud computing?
- Which of the following scenarios violates the Isolation property in the ACID properties of a transaction?
- Divide and conquer is used by
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)