How many types of syncronization?
Answers were Sorted based on User's Feedback
Three type of synchronization
1) Class level synchronization.
2) Block level synchronization.
3) Method level synchronization
| Is This Answer Correct ? | 3 Yes | 1 No |
whats the difference between == and .equal ?
Is string a keyword in java?
What do you mean by order of precedence and associativity?
Which sorting is used in arrays sort in java?
Difference between ‘>>’ and ‘>>>’ operators in java?
What is the difference between overriding & overloading?
What is difference between path and classpath variables?
Why is singleton instance static?
What is the current version of java?
How are this() and super() used with constructors in java programming?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
Does importing a package imports its sub-packages as well in java?