What is a method declaration?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

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 { }

2 Answers   Mphasis,


Can java cast null?

0 Answers  


How can we pass argument to a function by reference instead of pass by value?

0 Answers  


What is Java Annotations?

0 Answers  


What is the use of StringTokenizer class?

0 Answers   Hexaware, Virtusa,






What is meant by throwing an Exception?

4 Answers   Accenture,


How many types of array are there?

0 Answers  


What is the difference between comparison done by equals method and == operator?

0 Answers  


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 } }

3 Answers  


Explain the JDB in depth & command line.

0 Answers  


Explain final, finalize() and finally?

11 Answers   Accenture, TCS,


What things should be kept in mind while creating your own exceptions in java?

0 Answers  


Categories