why java is platform independent?

Answer Posted / vinay

Java is platform independent because after compiling
the .java file is converted to .class file. this .class
file is byte code which is platform independent...

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes memory leak in java?

708


What does the “final” keyword mean in front of a variable? A method? A class?

786


Why can't we override private static methods?

745


difference between byte stream class and character stream class?

4317


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

2080


What is the meaning of immutable regarding string?

755


Why are global variables used?

730


What does this () mean in constructor chaining concept?

839


Why does java doesnt suuport unsigned values?

1997


Why java is considered dynamic?

954


What is an object in java?

786


Is ruby built on java?

733


Why is multiple inheritance not supported in java?

792


What modifiers are allowed for methods in an interface?

895


What are the data types supported by java? What is autoboxing and unboxing?

775