How will you call an Applet using Java Script Function?



How will you call an Applet using Java Script Function?..

Answer / Jayant Kumar

Applets are not executed in a web browser using JavaScript, but in Java. JavaScript cannot directly call an Applet. However, you can communicate between applet and JavaScript using the `appletContext.showDocument()` method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How can we make string upper case or lower case?

1 Answers  


What is a line break example?

1 Answers  


What is meant by event handling?

2 Answers  


explain the clone method and clonable interface

1 Answers  


Explain the protected field modifier?

1 Answers  


What does this() represent, and how is it used in Java?

2 Answers  


I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }

4 Answers   Cap Gemini,


what is bmg file and how to create that files?what will it contailn?

1 Answers   HCL, Probe Services,


What does i ++ mean in Java?

1 Answers  


What is a variable analysis?

1 Answers  


What are loops in java?

3 Answers  


What are non-access modifiers?

2 Answers   Cognizant,


Categories