Answer Posted / janet
1. Application must be run on local machine where as applet
needs no explicit installation on local machine.
2.Application must be run explicitly within java compatible
virtual machine where as applet loads and runs itself
automatically in a java enabled browser.
3. application starts execution with it's main method where
as applet starts execution with it's init method
4.application can run with or without graphical user
interface where as applet must run within graphical user
interface.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }
Does java allow default arguments?
What is an empty list in java?
What are advantages of exception handling in java?
What is static keyword in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What are the approaches that you will follow for making a program very efficient?
Are private methods final?
How is string stored in java?
What is the difference between interface & abstract class?
How do you call a reference in java?
What is io stream in java?
What is string intern in java?
What are sets in java?
What does system.gc() and runtime.gc() methods do?