Some years back when I have started learning Java I get to know that Java follows Object Oriented Programming paradigm and everything in Java is an object either it is a String (which was a char array in C) or an array itself. But later on I found on Internet people saying that Java is actually not purely Object Oriented because everything in Java is not an object, for example: All primitive types ( char, boolean, byte, short, int, long, float, double ) are not objects because we are not able to do any object like operation (using . and calling methods) on them. I have also found some people some saying that all static content (variables and methods) does not belong to any object so they are non object things. Due to my little bit knowledge and less experience I easily accepted these reasons and started to believe that Java is not a purely Object Oriented Programming Language. But later on I found that for every object JVM creates two objects The object itself. And one Class level ob...
Naresh Joshi's blog for Java Language, Spring, Hibernate, Struts, Web Services, Micro Services, Design Patterns, Multi-threading, Collection XML, SQL.