Posts tagged "Core Java Interview Question "

Tag Archives: Core Java Interview Question

Can We Override Static Method in Java

One of the common Java interview questions is, Can We Override Static Method in Java? The Answer is NO, We can’t Override the static function in Java. But we can Overload the Static Method in Java. Now the new question Now the new question raised by interviewer Why? Why you can’t override but overload the Static method. … Continue reading Can We Override Static Method in Java

Can we create object of Abstract class in Java

This is a very confusing point for many of freshers in Java Programming. Java doesn’t allow to create Object of Abstract Class directly. You can see what is Abstract Class in Java.   Yes, We can create the Object of Abstract Class in Java but not directly. We can create the Object of Abstract Class indirectly with … Continue reading Can we create object of Abstract class in Java