Monday, March 12, 2018

Java interview question for experienced at GS Lab.

Q1) How multi threading happens in JAVA.

Q2) How to avoid in imutable class not to create a new instance if mutable object setter is called within?
Ans) Hint - Use clone of object within the constructor

Q3) How can we avoid performance hit if used synchronize in Singleton class.
Ans ) Hint - use Enum instead of singleton instance creation.

Please provide you answers in comment secssion.

Tuesday, February 27, 2018

Java Interview questions by DataMatic

Java Interview questions by DataMatic  -

1) Big file (.CSV) file of 3 GB. How will you process it and put in DB?
Ans) Use of MappedByteBuffer 

2) What is Callable interface in JAVA (Threads)?

3) Working of CuncerentHasMap?

Your comments are welcomed in comments secession.


Monday, February 5, 2018

Java harbinger company Pune interview questions on architecture role

Q1. Describe IOC and DI aligned with SOLID design principle.

Q2. Can we implement Polymorphism in RDBMS.

Q3. What is ORM.

Answers are welcomed in comment secession.