Explain jdk, jre and jvm?
No Answer is Posted For this Question
Be the First to Post Answer
What is singleton class and how can we make a class singleton?
solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..
What is race condition ?? (Threading concept) TCS 2 sept10
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?
What are the advantages of arraylist over arrays?
what is predefined function in java?
Explain treeset?
Is stringwriter thread safe?
What is file in java?
When we give defination of interface method in the class why method must be public???
In which order the iterator iterates over collection?
If two threads call a static method at the same point of time, what will happen?