In method overloading ,if i change the return type to Long
instead of INT,is the program execute

Answer Posted / siva thimmannagari

it wont execute

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does sprintf add a null terminator?

566


What is use of arraylist in java?

586


What is the major difference between linkedlist and arraylist?

514


How does java pattern compile work?

551


What are the advantages of defining packages in java?

509






What is a package in java? List down various advantages of packages.

762


What is variable and constant explain with example?

534


What is a variable declaration?

531


What is array pointers ?

607


why would you use a synchronized block vs. Synchronized method? : Java thread

537


What does g mean in regex?

570


Differentiate between overriding and overloading cases?

597


How hashmap works in java?

573


Define nashorn in java8.

570


How many types of operators are there?

529