In method overloading ,if i change the return type to Long
instead of INT,is the program execute
Answer Posted / ravikiran
yes the program will execute
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is the reason behind using constructors and destructors?
What is array and arraylist in java?
Can we use different return types for methods when overridden?
What do you mean by JVM?
Describe method overriding
How do you use parseint in java?
What is the integer of 16?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Program to Find the second largest element in an array.
Explain about wait() method?
What is the this keyword?
How to avoid memory leak in java?
What is widening and narrowing in java? Discuss with an example.
What is a treeset in java?
Can you explain the final method modifier?