What can an applet do, JAVA Programming

Assignment Help:

What Can an Applet Do?

An applet can:

• Draw pictures on a web page
• Create a new window and draw in it.
• Play sounds.
• Receive input from the user by the keyboard or the mouse.
• Form a network connection to the server from that it came and can send to and receive arbitrary data from that server.

Anything you can do along with these abilities you can do in an applet. An applet cannot:

• Write data on any of the host's disks.
• Read any data from the host's disks without the user's permission. In a few environments, notably Netscape, an applet cannot read data from the user's disks even with permission.
• Delete files
• Read from or write to arbitrary blocks of memory, even on a non-memory-protected operating system like the MacOS. All memory access is strictly controlled.
• Form a network connection to a host on the Internet other than the one from which it was downloaded.
• Call the native API directly (though Java API calls may eventually lead back to native API calls).
• Introduce a virus or trojan horse within the host system.
• An applet is not supposed to be able to crash the host system. Therefore in practice Java isn't quite stable enough to make this claim yet.


Related Discussions:- What can an applet do

Write a code in java to explain the while loop in java, Write a code in jav...

Write a code in java to explain the while loop in Java? // This is the Hello program in Java class Hello { public static void main (String args[]) { System.out.print("

Overloading method, QUESTION 3: Overloaded methods Write the overloaded me...

QUESTION 3: Overloaded methods Write the overloaded method named average () for each of the following problems: a) The first method receives THREE (3) integer values and returns

Dropbox calendar, code in dropbox calendar and loop for feruary leapyear

code in dropbox calendar and loop for feruary leapyear

Explain labeled loops in details, Explain Labeled Loops in details ? Ge...

Explain Labeled Loops in details ? Generally inside nested loops break and continue exit the innermost enclosing loop. For instance consider the subsequent loops. for (int i=1

Calculates number of negative and positive numbers in array, Question 3 ...

Question 3 Using this line: var posneg : array [1..15] of integer; Write a program that calculates the number of negative and positive numbers in the array. Users will

Decoding program, 699906626330444777707776662233777 decoding program

699906626330444777707776662233777 decoding program

How does an exception permeate through the code, How does an exception perm...

How does an exception permeate through the code? An unhandled exception moves up the method stack in search of a matching When an exception is thrown from a code which is wrapp

Explain some advantages of java, Platform independence is the key feature o...

Platform independence is the key feature of Java during runtime. Syntax of java is same to the popular object oriented languages such as C and C++. Java program can eliminate most

Give an example of class or static members, Give an example of Class or sta...

Give an example of Class or static Members? Below is a Car class along with such a speedLimit field and getSpeedLimit() method. public class Car { private String licensePla

Unicode-ascii utf16-utf 8, How many bits are we used in Unicode, ASCII, U...

How many bits are we used in Unicode, ASCII, UTF-16, and UTF-8 characters?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd