Самые популярные вопросы и ответы для интервью и онлайн-тесты
Образовательная платформа для подготовки к интервью, онлайн-тестов, учебных материалов и живой практики

Развивайте навыки с целевыми маршрутами обучения, пробными тестами и контентом для подготовки к интервью.

WithoutBook объединяет вопросы для интервью по предметам, онлайн-практику, учебные материалы и сравнительные руководства в одном удобном учебном пространстве.

Подготовка к интервью

Java Applet вопросы и ответы для интервью

Вопрос 16. Can applets on different pages communicate with each other?

Use the getSize() method, which the Applet class inherits from the Component class in the Java.awt package. The getSize() method returns the size of the applet as a Dimension object, from which you extract separate width, height fields. The following code snippet explains this:

Dimension dim = getSize();
int appletwidth = dim.width();
int appletheight = dim.height();

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 17. Which classes and interfaces does Applet class consist?

Applet class consists of a single class, the Applet class and three interfaces: AppletContext, AppletStub, and AudioClip.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 18. What is AppletStub Interface?

The applet stub interface provides the means by which an applet and the browser communicate. Your code will not typically implement this interface.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 19. What tags are mandatory when creating HTML to display an applet?

code, height, width.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 20. What are the Applets information methods?

The following are the Applet's information methods: getAppletInfo() method: Returns a string describing the applet, its author, copyright information, etc. getParameterInfo( ) method: Returns an array of string describing the applet's parameters.

Это полезно? Добавить комментарий Посмотреть комментарии
 

Самое полезное по оценкам пользователей:

Авторские права © 2026, WithoutBook.