What is return code?



What is return code?..

Answer / Sonali Parasar

In Java, a 'return code' or 'return value' is the value that a method returns after its execution to the point where it was called. This value can be used to indicate whether the method has completed successfully or encountered an error.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?

6 Answers   Flextronics, Keane India Ltd,


Write a program to print 15 random numbers using foreach of java 8?

1 Answers  


What are the types of methods in java?

1 Answers  


how to transactions(Bank transactions) in business process in ejb?

1 Answers   Photon,


Can Applet have constructors?

5 Answers   Infosys,


What is array and arraylist in java?

1 Answers  


what is the final keyword denotes in java?

1 Answers   IBS,


Can we override constructors in java?

1 Answers  


What is method in research paper?

1 Answers  


What is diffrance between FINALIZE() & FINALLY ?

2 Answers   Infosys,


What is thread synchronization in java?

1 Answers  


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1 Answers  


Categories