While using encapsulation which among the following is possible


Asked by admin @ in Computer Science viewed by 343 People


Which of the following is provided using encapsulation ?(a) Data protection (b) Data sharing(c) Separation of data and methods (d) All of these

Answered by admin @



Encapsulation is one of the feature and fundamental aspects of object oriented program or OOP.


It is mainly used for bundling data and methods that work on that data within one unit.


For example, class in Java is an object oriented program, and encapsulation can be used for separating of data and methods.


Similar Questions

What among following is used to produce artificial rain

Asked by admin @ in Chemistry viewed by 310 persons

What among following is used to produce artificial rain ? A. copper oxide B. carbon monoxide C. silver iodide D. silver nitrate

E verify can be used for which of the following

Asked by admin @ in Law viewed by 379 persons

E-Verify can be used for which of the following? (Select one)

Possible advantages and disadvantages of using educational apps in class

Asked by admin @ in English viewed by 284 persons

Consider the advantages and disadvantages of online education and education in a traditional classroom setting. Which method of learning is better for students? Write an essay in which you try …

Which among the following is an international problem

Asked by admin @ in Social Sciences viewed by 488 persons

Which among the following is an international problem? Choose the right option and rewrite the sentence. (a) Border dispute between Maharashtra and Karnataka (b) Kaveri water sharing question (c) Problems …

Among the following which one is not paramagnetic

Asked by admin @ in Chemistry viewed by 338 persons

Among the following which one is not paramagnetic ?options ne^2+ ,be+ ,cl-, as+ plz explain it asap

Among the following species identify the isostructural pairs

Asked by admin @ in Chemistry viewed by 368 persons

Among the following species, identify the isostructural pairs, NF3, NO,, BF3, H3O+, HN;(A) [NF3, Nog] and [BF3, H30+](B) [NF3, HN3] and [NO3, BF3](C) [NF3, H3O+] and [NOZ, …

Among the following parallels which is the longest

Asked by admin @ in Social Sciences viewed by 349 persons

Among the following parallels which is the longest parallel A 10N B 30N c 60 N (80N) ​mark you the brainliest

State which of the following situations are possible

Asked by admin @ in Physics viewed by 275 persons

State which of the following situations are possible and give an example of each of these- 1 a body moving with constant acceleration but with zero velocity 2 a body …

Which among the following is not a prokaryote

Asked by admin @ in Biology viewed by 382 persons

Which among the following is not a prokaryote? (1) Nostoc (2) Mycobacterium (3) Saccharomyces (4) Oscillatoria

Among the following london forces are maximum in

Asked by admin @ in Chemistry viewed by 344 persons

Among the following London forces are maximum in 1.Hcl 2.HBr 3.HI 4.all are equal​

Who among the following formed the secret society

Asked by admin @ in Social Sciences viewed by 323 persons

Who, among the following formed a secret society, called ‘Young Italy’? A. Otto Van Bismark B. Giuseppe Mazzini C. Metternich D. Johann Gottfried Herder

The least porous soil among the following is a

Asked by admin @ in Environmental Sciences viewed by 381 persons

6. The least porous soil among the following is a i) Loamy soilii) Silty soiliii) Clayey soiliv) Peaty soil​

Which among the following is not a redox reaction

Asked by admin @ in Chemistry viewed by 386 persons

Which among the following is not a redox reaction ? A) 2Na+02 → Na202B) SO2 + 2H2S → 2H2O +3SC) Na, O + 2HCl → 2NaCI+H,OD) MnO, …

Among the following which is not isoelectronic with others

Asked by admin @ in Chemistry viewed by 456 persons

Which of the following is not isoelectronic with others?a)Nab)Mgc)O2d)Cl​

Who among the following leaders was not a moderate

Asked by admin @ in History viewed by 317 persons

which of the following was not a moderate leader first Bal Gangadhar Tilak 2nd Dadabhai naoroji third Gopal Krishna Gokhale fourth Surendranath Banerjee ​

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 19024 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15811 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10973 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10403 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8722 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8136 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7842 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6489 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5790 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5693 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5476 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4981 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4971 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4684 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4488 persons