Why java is a platform independent? Explain
Answer / George Boipai
Java is platform-independent because it is compiled into bytecode (class files) that can run on any device with a Java Virtual Machine (JVM). The JVM exists for various platforms, so the same Java code can be executed consistently across different operating systems and hardware.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to one war file class to another war file class?
What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }
what is difference between global methods and local methods?
Which class is used by server applications to obtain a port and listen for client requests?
Why is java so important?
Is assembly language a low level language?
How does list work in java?
What is bubble sorting in java?
What is difference between compatible and incompatible changes in serialization?
What is the properties class?
Differentiate between stringbuffer and stringbuilder in java.
What is meant by Servelet? What are the parameters of service method?