Can main() method in java can return any data?
No Answer is Posted For this Question
Be the First to Post Answer
How to display arraylist values in java?
What is meant by stack and queue?
Why do we need data structure in java?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
How to print an arraylist in java?
What is the reason behind using constructors and destructors?
Difference between String and String Buffer?
What are the differences between heap and stack memory?
What are the super most classes for all the streams?
Difference between string s= new string (); and string s = "abv";?
Explain serialization and deserialization in java?
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.