What is the difference between Trusted and Untrusted
Applet ?
Answer Posted / anu
Applets are divided into two categories: trusted and
untrused. Trusted applets are not subject to any security
restrictions and can therefore open connections to any host
at will; untrusted applets are subject to the security
restrictions described below.
When an applet is loaded a check is first made to see if an
applet by that name (the value of the CODE attribute in the
APPLET tag) exists in the classpath (if none was explicitly
set, then just the internal default classpath is used); if
so, the applet found in the classpath is loaded. Applets
loaded this way are considered trusted. If no applet by the
requested name is found in the classpath then it is loaded
from the location specified by the combination of urls used
to load the page containing the applet and in the CODEBASE
attribute. Applets loaded this way are considered untrusted
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is hashmap thread safe?
What is hashmap and map?
5 Coding best practices you learned in java?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is the use of coding?
What was java originally called?
What is sleep method?
What is polymorphism and what are the types of it?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is the size of string?
what is the significance of listiterator in java?
Is it possible to instantiate the abstract class?
What is java virtual machine? Explain
Does substring start with 0?
what is a green thread? : Java thread