ALLInterview.com :: 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                      
tip   SiteMap shows list of All Categories in this site.
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
how can you say that java is independ language
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can you say that java is independ language
Answer
# 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 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 ?    13 Yes 0 No
Pravallika
 
  Re: how can you say that java is independ language
Answer
# 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
 
os is developed in c no java is more secured then c na why dont the os developed is developed using java  1
Difference between Web-based applications,Client- Server applications and Distributed applications? Infosys3
where to use join method and explain with real time senario?and programatical explenation also.. TCS1
How many types of thread in java? give the name NIIT11
wahts is mean by thread? HCL20
how to connect one jsp page to another jsp page???? Symphony6
why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)  2
what is the need of the Ajax? iFlex5
how system.out.println() works?  2
What are Encapsulation, Polymorphism and Inheritance?  5
What is hypertext?  1
What is adapter class?  11
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com