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

What is the use of arrays tostring () in java?

718


What is off heap memory?

723


How many return statement are allowed in a function?

644


what is thread? : Java thread

751


How do you sort data in java?

710


Can we write a class without main method in java?

673


Can bool be null?

721


Is hashset sorted in java?

851


What are peerless components in java programming?

756


What is meant by vector class, dictionary class, hash table class, and property class?

891


What does int [] mean in java?

747


What is the constructor?

792


What is string pool?

801


What is the applet security manager, and what does it provide?

750


How will you compute size of a structure?

787