https://www.facebook.com/groups/englishskillup/permalink/2159159997675671/

Aside from data type and "write once and run anywhere", java provides GC(garbage collection). Nowadays it is quite common in modern language like python, javascript but the main stream languages of C and C++ did not support.

GC feature is orginally associated with the dynamic memory allocation. In C language, malloc() and calloc() function are for the explicit request of some memory needed.Sucfunction is at risk if the requested memory is not released. Release means to give back the memory reserved earlier. If not released yet, memory leak occured and gradually the machine would loose that memory until the process is destroyed.

Ultimately GC feature is against the memory leak. But practically the programmer should take care of unintended leaks. Java is much safer than non-GC languages so many server side accepts java platform.

Java is object oriented language. In 2000 when I first learned it and java was quite brand new, many programmers and students of the world are entusiastic that object can solve all sw problems that existed before.

Now after almost 20 years, Object oriented language is only one of the programming paradigm while the modern languages accepts multi paradigms like funtional, imperative(traditonal) together.

Learning objective thinking takes much time at least one year. Only several months are not enough while reading a book. Much coding and practice are needed. It is some kind of world-view that models the system.

I will continue with Object oriented thinking. Thank you.

#Mike #week2 #java