Question
What is the relationship between encapsulation and
abstraction?Solution
Encapsulation is often considered a mechanism or technique that helps achieve abstraction. By encapsulating the internal workings of a class (hiding data and implementation details), we present a simpler, more abstract view of the object to the outside world.
In a code language, 'TRAIN' is written as AITRS, and 'TRUCK' is written as UCTRP. How will 'CYCLE' be written in the same language?
Choose the one which is different from the rest.
What will come in place of ‘?’ in the following equation, if ‘+’ and ‘–‘ are interchanged and ‘×’ and ‘÷’ are interchanged?
...Seven boys J, K, L, M, N, P and Q are sitting around a circular table facing towards the centre (not necessarily in the same order). P is second to ...
Select the missing characters from the given responses.
BADC : FHEG :: NPMO : ?
Arrange the given words in the sentence in which they occur in the dictionary.
1. MALISM
2. MAINED
3. MALAX
4. MARION
5. MANCES
In this question, the relationship between different elements has been shown in the statement.
After the statement, two conclusions have been giv...
Select the option in which the given figure is embedded (rotation is NOT allowed).
find the wrong term in the following series.
DWIK, HUML, LSQM, PQUN, TOXO
Select the letter triad from the given options which follows the same relation as shown below.
(LNQ, PRU, TVY)