How are java objects passed to a method and what are native methods?
Answer / Dushyant Yadav
Java objects are passed by reference, meaning that the memory address of the object is passed, not the value of the object itself. Native methods are methods written in languages other than Java (usually C or C++) that can be called from Java code. They are used to access native libraries and provide a performance boost.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is business delegate?
Explain about the performance aspects of core java?
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
How do you remove an object from an arraylist in java?
What is percentage in java?
what are the application of compiler and interpreter for source program
what is polymorphism with example?types of polymorphism?
Why is multithreading important?
What are the states of thread in java?
What is the difference between Grid and Gridbaglayout?
What are the procedures?
what difference between throw and throws in exception handling.