Java doesn’t support multi-value returns. We can use following solutions to return multiple values. If all returned elements are... 17 May Returning Multiple values in Java | java | 0 Java doesn’t support multi-value returns. We can use following solutions to return multiple values. If all returned elements are...
See this for detailed description. In Java, parameters are always passed by value. For example, following program prints i... 17 May How are parameters passed in Java? | java | 0 See this for detailed description. In Java, parameters are always passed by value. For example, following program prints i...
A method is a collection of statements that perform some specific task and return the result to the caller.... 17 May Methods in Java | java | 0 A method is a collection of statements that perform some specific task and return the result to the caller....
strictfp is a keyword in java used for restricting floating-point calculations and ensuring same result on every platform while... 17 May strictfp keyword in java | java | 0 strictfp is a keyword in java used for restricting floating-point calculations and ensuring same result on every platform while...
Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that... 17 May volatile keyword in Java | java | 0 Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that...
transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save... 17 May transient keyword in Java | java | 0 transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save...
abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve... 17 May abstract keyword in java | java | 0 abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve...
This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in... 17 May final, finally and finalize in Java | java | 0 This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in...
final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a... 16 May final keyword in java | java | 0 final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a...
The super keyword in java is a reference variable that is used to refer parent class objects. The keyword... 16 May Super Keyword in Java | java | 0 The super keyword in java is a reference variable that is used to refer parent class objects. The keyword...