Hi Friends, can u give me Real Time example for interface and abstract class.(With Banking Example)
4 14837Hi Friends, can you explain instance in java. In general instance means "occurence of something" . In java what is instance.
4 6061Hi 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.
5 6352Hi Friends, can you give difference between extending thread class and implementing runnable interface.
4 6565Hi Friends, I am new to java. Can u explain about thread concept.How i know one thread is locked, and how can i force or acquire another thread for lock . Finally how to know thread is released from lock. Explain types of lock(like method level and block level) in thread.
1 3669I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.
1 4512Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
2 9426What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 13279
why we use merge option in hybernate pls give a ex snippet
Explain garbage collection in java?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is the intersection and union methods?
Where is singleton pattern used?
What does the “final” keyword mean in front of a variable? A method? A class?
Does A Class Inherit The Constructors Of Its Superclass?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is bytecode in java ?
What is the final keyword?
What is the difference between actual and formal parameters?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Do extraneous variables affect validity?
What is difference between == and === in js?
How do you calculate square roots?