What is the method by which two or more applets can communicate with each other within one HTML page?
Correct Answer: getAppletContext()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Correct declarations for the main() method which will allow the class to be run as a standalone program:
Output if myMethod() is executed? class MyPoint { void myMethod() { int x, y; x = 5; y = 3; System.out.print( ' ( ' + x + ', ' + y + ' )' ); switchCoords( x, y ); System.out.print( ' ( ' + x + ', ' + y + ' )' ); } void switchCoords( int x, int y ) { int temp; temp = x; x = y; y = temp; System.out.print( ' ( ' + x + ', ' + y + ' )' ); } }
How many times can classes be nested within a class?
What would happen on trying to compile and run the following code? public class Test { public static void main (String args[]) { int iRand; iRand = Math.random(); System.out.println(iRand); } }
Which statement is correct?
In java all output uses the ______ data type.
In a do…while loop, the loop will continue to execute until ____.
If you attempt to add an int, a byte, a long, and a float, the result will be a ________ value.
If an exception occurs in a try-catch block, the code in the finally clause ________.
If a programming language does not support ____, the language is not considered object-oriented.