what Data encapsulation in java?

Answer Posted / satyanarayana

Encapsulation means binding the data and code into a single
entity.

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we increase array size dynamically in java?

517


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

602


What is the collections api in java programming?

559


What does regex mean?

571


Write a code to create a trigger to call a stored procedure

540






What is navigable map in java?

527


What is the synchronized method modifier?

596


What is the difference between state-based unit testing and interaction-based unit testing?

497


What is the difference between conversation & casting?

582


Why is the type for real numbers called double?

545


What is a key in java?

505


What is structure of java heap? What is perm gen space in heap?

546


What is string and example?

559


Can arraylist contain null values?

569


What will be the initial value of an object reference which is defined as an instance variable?

647