Explain different ways of passing arguments to sub-routine?
an argument is passed to a sub-routine by 2 differen tways
1.pass by value
2.pass by reference
| Is This Answer Correct ? | 6 Yes | 0 No |
Difference between JVM and JRE?
How many bits is a string in java?
What is the difference between the final method and abstract method?
what are the differences between final,finally,finalize methods?
What is the difference between jdk, jre, and jvm?
What do you mean by access modifier?
Write the algorithm to check the number non-leaf nodes in a tree.
What is method overloading in java ?
What are the benefits of operations?
What is the difference between hashset and treeset in java?
What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }
Add a value x to array from index l to r where 0 <= l <= r <= n-1