:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
how can you say that java is independ language
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
# 1
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
to run this program first we have to compile the program by using javac compile the program it generates Add.class file.Generally .class file contains javainstructions.we can not run the .class file directly on to the in this we require some virtual we have to instal jvm.To give the .class file input to the jvm.The jvm converts java instructions into the processor dependent jvm is a dependent language.Wiothout jvm we will not able to run our java in this way we say that java is independent language.
Is This Answer Correct ?    14 Yes 0 No
# 2
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
Mayank Sharma

Other Core Java Interview Questions
  Question Asked @ Answers
Can you call a private data from an inner class?   6
How to make class immutable   6
What is the method used to get the absolute value of a number?   2
what is the diff b/w arraylist and vector? Genesis 6
Why const and goto are reserved keyword in java?   1
How many types of syncronization?   2
what is difference between abstraction and interface? FIC 8
In Serialization, whether you will use Static variables? HCL 3
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0 Accenture 8
How GUI component handle its own events?   1
why an outer class cannot be declared as private?   1
Does java support multi dimensional arrays ?   6
For more Core Java Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::