Topic 1-: new Vs newInstance() 2-:instanceof Vs isInstance() 3-:ClassNotFoundException Vs NoClassDefFoundException new Vs newInstance() new It is operator in java. we can use a new operator to create objects if we know class name at the beginning. ex-: Student s=new Student(); Test t=new Test(); In this case of new operator based on our requirements we can invoke any constructor ex-: Test t=new Test(); ...
I am trying to describe the core concepts of Java.I am trying to cover all the concepts of Java in easy way. I am trying to cover all the concepts of Java through this blog.