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
Which collection is ordered in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Difference between notify() method and notifyall() method in java?
How does arraylist work in java?
What are classloaders?
How to check if linked list contains loop in java?
What are the advantages of java over cpp?
Is empty string in java?
Which is faster set or list in java?
What is stream api in java8?
What are the restriction imposed on a static method or a static block of code?
worst case complexities of Quick sort and Merge sort.
What is output buffer?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
How can we find the actual size of an object on the heap?