Question 26
Which layer of the OSI reference model is responsible for logical IP addressing and routing packets across networks?
The Network Layer (Layer 3) handles IP addressing, routing protocols, and internetwork packet delivery.
Which layer of the OSI reference model is responsible for logical IP addressing and routing packets across networks?
The Network Layer (Layer 3) handles IP addressing, routing protocols, and internetwork packet delivery.
In Java, what happens if an exception occurs inside a 'try' block and a corresponding 'finally' block is defined?
The 'finally' block in Java guarantees execution during normal execution or exception handling cleanup.
Having multiple methods in the same class with identical names but different parameter lists is known as:
Method Overloading allows a class to have multiple methods sharing a name with distinct parameter signatures.
In C++, which operator CANNOT be overloaded?
C++ forbids overloading the Scope Resolution (::), Member Selection (.), Pointer-to-member (.*), and sizeof operators.
In Python, constructor functions inside a class are defined with the special method name:
Python initializes new class instances by automatically executing the instance method named __init__().