What is the difference between Access Modifier and Access
specifier?
Answer / nilesh.bhil@gmail.com
Access Modifier can define the ristrict level of visibility.
There are three types of Access Modifier.
1)Private
2)Protected
3)Public
There are four types of Access Mode.
1)Private
2)Protected
3)Public
4)Default or Pakage mode
Access specifiers define behaviour level of visibility.
The Access Specifier are
abstract, static, final, strictfp etc.
| Is This Answer Correct ? | 10 Yes | 7 No |
What is factor r?
Can java hashmap have duplicate keys?
What is “try and catch” in java
What are basic keywords?
When parseint method can be used?
What are different types of arrays?
What are the differences between string, stringbuffer and stringbuilder?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Can we extend immutable class?
What is stringreader?
Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time
Explain jvm, jre, and jdk?