Why is singleton not thread safe?
No Answer is Posted For this Question
Be the First to Post Answer
Explain thread life cycle in java?
When does Exception occurs?
What are interfaces?
What are the data types supported by java? What is autoboxing and unboxing?
What is the syntax and characteristics of a lambda expression?
Why are pointers not secure?
what is multi-tasking
3 Answers Anand Group, Photon Infotech, Tech Mahindra,
Difference between String and StringBuffer.
StringBuilder s = new StringBuilder("Hello Mom");s.append(",I mean,Mother"); Response.Write(s.ToString()); String s = "Hello Mom"; s+ = ",I mean Mom"; Response.Write(s); Which is faster ? which uses the most memory?
What do you mean by data type?
How do you declare an infinite loop?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }