In my opinion Synchronization is used to protect shared resource in multi-threading environment in concurrent programming. Now days concurrency is must have feature because of multiple core cpu and to leverage your hardware fully you need to program your application to run concurrently and without correct synchronization you can't do that. Incorrect synchronization can result … Read more
In My opinion
C/C++ is best for system programming like device driver or where you need super speed by leveraging native capability.
Java is best for application programming it let's developer to focus on application programming and not to worry about system things like memory allocation deallocation because they use garbage collection etc.
"java abstraction is data hiding concepts" this is completely incorrect.Encapsulation is used for data hiding not abstraction. Abstraction is a design concept on which we only declare functionality doesn't define it because we don't know about them at design point. For example if you are designing Server Class you know that there must be start() … Read more