Why Java is called as purely platform independent..?
Explain briefly..dont Give regular answers
Explain with your own example..?
Answer Posted / rajashekar
Ya of course the above answer is currect but remember here
Platform independent means PROCESSOR Independent..that mens
irrespective of processor the JVM convert the Java
Instructions into processor dependent Instructions..
Thats why Java is so called Platform Independent..
Example:
If you are using Intel Processor the machine code
instructions are different like ipush,istore etc like if you
are using AMD processor the instructions will be a push,a
add etc ....
here JVM converts the java Instructions to Processor
understandable Instructions..
so the Programs which were compiled on any Processor can run
on no.of times through out the world on n no.of Processors..
Thank You....
if any suggestions mail to rajashekar.654@gmail.com
| Is This Answer Correct ? | 30 Yes | 7 No |
Post New Answer View All Answers
Can we have 2 main methods in java class?
What is Applet Stub Interface ?
How does callback work in java?
How many ways can we create the string object?
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; }
What is main string [] args?
What are synchronized blocks in java?
what is the major difference between linkedlist and arraylist in java?
How many static init can you have?
What is dynamic binding(late binding)?
How does compareto work in java?
What are 3 boolean operators?
What is the abstraction?
What is package protected in java?
How to find the given number is a prime number or not by getting input from the user