What is a native method?
Answers were Sorted based on User's Feedback
native method is a method that is implemented in a language
other than java.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
native methos is the method declared inside some structured
programming language which will get called on java
| Is This Answer Correct ? | 3 Yes | 0 No |
What is charat java?
what are the analysis of an object
When should I use abstract classes and when should I use interfaces?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
What does sprintf return?
What is the difference between Array and Hash Table?
Why isn’t there operator overloading?
what is difference between length and length()?
WAP to illustrate the use of interface
Are generics important java?
What is the use of runnable interface?