what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / sreenivasarao
access specifier : it will define scope
access modifier : it will define behaviour
| Is This Answer Correct ? | 28 Yes | 14 No |
Post New Answer View All Answers
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What isan abstract class and when do you use it?
How to sort array of 0 and 1 in java?
What are the basic interfaces of java collections framework?
What is meant by class loader? How many types are there? When will we use them?
What is the difference in between cpp and java? Can u explain in detail?
Why there are some null interface in java? What does it mean?
What is 16 bits called?
What language is java written?
How do you override a variable in java?
What is the advantage of functional interface in java 8?
What is static class
What are different data structures in java?
Can we define static methods inside interface?
What are sets in java?