Answer Posted / hemant
The differences between an applet and an application are as
follows:
1. Applets can be embedded in HTML pages and downloaded
over the Internet whereas
Applications have no special support in HTML for embedding
or downloading.
2. Applets can only be executed inside a java compatible
container, such as a browser
or appletviewer whereas Applications are executed at
command line by java.exe or jview.exe.
3. Applets execute under strict security limitations that
disallow certain operations
(sandbox model security) whereas Applications have no
inherent security restrictions.
4. Applets don’t have the main() method as in applications.
Instead they operate on an
entirely different mechanism where they are initialized by
init(),started by start(),stopped
by stop() or destroyed by destroy().
| Is This Answer Correct ? | 238 Yes | 11 No |
Post New Answer View All Answers
What is assembly language?
Explain about features of local inner class?
How do you sort objects in java?
What is final, finally, finalize?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is a return in java?
What do you mean by global variable?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
Explain what access modifiers can be used for methods?
What is proper subset?
Why chararray() is preferred over string to store the password?
What is the advantage of preparedstatement over statement?
Why is java not 100% pure oops?
What is object class in java?
How do you compare values in java?