What are inner classes or non static nested classes in java?
No Answer is Posted For this Question
Be the First to Post Answer
Name the types of 'priority'?
Can we override protected method in java?
What is the range of the short datatype?
The following program is Overloading or Overriding? public class PolymorphismEx { public int sampleMethod(int a) { return a; } public String sampleMethod(int a) { return "Is it Overloading or Overriding???"; } }
4 Answers Ness Technologies, TCS,
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.
Explain a situation where finally block will not be executed?
Wha is the output from system.out.println(“hello”+null); ?
What is user defined exception in Java?
What is a protected void?
How many bytes is a string in java?
What is a predicate method?
How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.