Posts

Showing posts from April, 2019

Core Java Interview

General ====== Design immutable class? Why instance variables are final? Polymorphism How to immutable the Date class? LocalDate or LocalDateTime (Java 1.8) Print sequence using 3 threads in java https://java2blog.com/print-sequence-3-threads-java/ Explain current project architecture? What is the mean? What is VaR? What is Historical simulation? Find the middle index of the given array or collection? Find if the list is cyclic or not? Explain current project architecture? what is lock which one is better synchronization or lock API What is complexity? web service difference between REST and SOAP. Another way of transferring data than web services Object to XML conversion Annotation use in POJO classes in rest services. Thread ======= No of way to create a thread.   Difference between Callable and Runnable. The print alternate number using two threads and so on. (Even and Odd Thread) Difference between CyclicBarrier and CountDownLatch? https://javahungry.blo