To the class members how can we provide security?

Answer Posted / sanjay krishna n

by access modifiers, i.e Public, Private, Protected

Is This Answer Correct ?    22 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is map java?

523


Explain the use of volatile field modifier?

643


Write a program to search a number in the given list of numbers.

639


Can we have multiple classes in a single file?

518


What is immutable data?

588






What is boolean logic?

568


How many ways can an argument be passed to a subroutine and explain them?

585


What will be the default values of all the elements of an array defined as an instance variable?

564


How many bytes are there?

544


Differentiate between stringbuffer and stringbuilder in java.

559


What is difference between pointer and reference?

512


Is break statement can be used as labels in java?

516


What is difference between path and classpath in java?

492


What is nested top-level class?

583


How do I type unicode?

541