Can we override protected method in java?
What is the use of :: in java?
what is mean by method signature?
Wha is the output from system.out.println(“hello”+null); ?
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
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?
What is the difference between serializable and externalizable interfaces?
what is predefined function in java?
How to display arraylist values in java?
How do you differentiate abstract class from interface?
Is singleton a bad practice?
How do you sort a list in java?
What are the uses of synchronized keyword?