What is a method declaration?
No Answer is Posted For this Question
Be the First to Post Answer
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
Can java cast null?
How can we pass argument to a function by reference instead of pass by value?
What is Java Annotations?
What is the use of StringTokenizer class?
What is meant by throwing an Exception?
How many types of array are there?
What is the difference between comparison done by equals method and == operator?
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
Explain the JDB in depth & command line.
Explain final, finalize() and finally?
What things should be kept in mind while creating your own exceptions in java?