1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jonny [76]
3 years ago
10

A java ____ is a program written in the java programming language that can be included in a web page.

Computers and Technology
2 answers:
Over [174]3 years ago
7 0
A java Script is a program written in the java programming language that can be included in a web page.
Evgen [1.6K]3 years ago
4 0

Answer:

Java Applets are used to include java programs on web page.

Explanation:

Java Applets are small java programs that can be run on any browser with appropriate Java Plug-in and displays applet as a section of web page.

How to Create Applet

Create an applet class by extending it with JApplet and add a paint method in it. for example

import java.awt.*;

import javax.swing.*;

public class HelloWorld extends JApplet {

          public void paint(Graphics graphic)

           {

            super.paint(graphic);

           }

}

The above code will create an applet and super.paint(graphic) method will draw the applet for you.

In order to display "Hello World" string in applet. you just need to add the following line after super.paint(graphic); method.

graphic.drawString("Hello World" , 20, 20);

Run Code

Click on Run Button and you will able to see the applet in applet viewer window.

You might be interested in
Write a program that accepts a whole number as
SashulF [63]

This is for Python

number = int(input('Number: '))

number = number * 12

print(number)

3 0
2 years ago
What is the advantage of video conferecing
Svet_ta [14]

some advantages of video conferencing include:

• you can talk no matter how far you are from the person

•you won’t have to go somewhere to talk

•there is no cost if you need to travel far

7 0
3 years ago
Read 2 more answers
On what basis can you categorize the generations of computers
3241004551 [841]

what the answer to this question....


7 0
3 years ago
What is not an example of a job skill
ikadub [295]

Being dishonest, irresponsible and unpunctual.Answer:

Explanation:

8 0
2 years ago
Read 2 more answers
Write a pseudocode method swap(aList, i, j) that interchanges the items currently in positions i and j of a list. Define the met
serious [3.7K]

Answer:

Explanation:

The following pseudocode for this method using operations of the ADT list would be the following

swap(aList, indexI, indexJ) {

    initialize temp_variable = Retrieve(indexI, aList)

    Insert(Retrieve(indexJ, aList), indexI, aList)

    Insert(Retrieve(indexI, aList), temp_variable, aList)

}

This code basically saves the aList index of i , into a temporary Variable. Then it sets the aList index of i to the value of the element in index of j. Then it does the same for the index of j with the tem_variable. If we assume that the indexes of i and j exist, then it can crash our entire program if those indexes are missing from the list when we try to access them.

6 0
3 years ago
Other questions:
  • What color model should Joe use if he will be using an offset printing press?
    7·1 answer
  • I am trying to figure out why I keep having the errors on the right side.
    5·1 answer
  • Explain the function of the Ribbon in Microsoft Word.
    15·1 answer
  • What type of network is capable of delivering voice, video streams, text, and graphics between many different types of devices o
    15·1 answer
  • tell us things u did as a kid but don't want to admit to it (best gets brainly 5 stasr and a thank you)
    13·2 answers
  • how to create use an array of Course objects instead of individual objects like course 1, course 2, etc
    11·1 answer
  • What is media ethics. Explain two forms of maintaining media ethics with examples​
    13·1 answer
  • The term ________ refers to the use of a single unifying device that handles media, Internet, entertainment, and phone needs. Gr
    8·1 answer
  • Please help I will mark brainliest
    5·1 answer
  • Q1). Write a python program to pass a list to a function and double the odd values and half even values of a list and display li
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!