How do you achieve polymorphism in java?
is it possible to add a object in a HASHMAP
Explain about interthread communication and how it takes place in java?
What do you understand by final value?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Give a briefing on the life cycle of a thread.
What is the default value of float and double datatype in java?
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
Why are constructors used?
How to perform binary search in java?
What is the return type of read()?
Which is the best way to use for String concatenation in Java?
java program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.