Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can you say that java is independ language

Answers were Sorted based on User's Feedback



how can you say that java is independ language..

Answer / pravallika

every one say that java is independent language.we have develop some java program to understand how java is platform independent.
public class Add{
public static void main(String []ar){
int a=10;
int b=20;
int a=a+b;
}
}
save the above program by Add.java
to run this program first we have to compile the program by using javac Add.java.after compile the program it generates Add.class file.Generally .class file contains javainstructions.we can not run the .class file directly on to the processor.so in this we require some virtual machine.so we have to instal jvm.To give the .class file input to the jvm.The jvm converts java instructions into the processor dependent instructions.so jvm is a dependent language.Wiothout jvm we will not able to run our java program.so in this way we say that java is independent language.

Is This Answer Correct ?    17 Yes 0 No

how can you say that java is independ language..

Answer / mayank sharma

When you program in any programming language, you compile your
program before executing it. Compiling your program means
you've converted your source code ( text ) into machine code(
which can be...

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Core Java Interview Questions

Explain the importance of join() method in thread class?

0 Answers  


where exactly collections are usefull in realtime

2 Answers  


Explain the scope or life time of class variables or static variables?

0 Answers  


Write a program to print all permutations of string?

0 Answers  


Is sizeof a keyword in java programming?

0 Answers  


what is the difference between sleep() and Wait()?

10 Answers   Accenture, Amdocs,


How do u pass data from one jsp to another jsp?

3 Answers   Fidelity,


Explain inner classes ?

0 Answers  


Which is bigger float or double?

0 Answers  


how u do unit testing?

2 Answers   iFlex,


What is string builder in java?

0 Answers  


Is null in java?

0 Answers  


Categories