What is JAVA? Why it is platform independent?
Answer Posted / saravanan
Java is one of the Object Oriented Language.
Mainly to run on Different Platform and Supporting in
Multi-Threading concept.
Because its only need and run Bytecode on Your platform.
Automatically reclaim Garbage Collection.
Its mainly Memory management.
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
Who found java?
What is factor r?
What is the access scope of protected access specifier?
Can you explain the usages of class.forname()?
What is native method in java?
What do you know about the garbage collector?
Explain reverse a linked list recursive java solution?
What is the importance of main method in Java?
What is a file pointer?
Using callable statement how can you pass out parameters, explain with example?
What are variable names?
When a byte datatype is used?
What is scanner in java?
Which is faster string or stringbuilder?
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; }