:: 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
What is casting? BMC 3
Difference between local and global transaction ? iFlex 1
How to access a method that it declared as protected?   3
What is the Dictionary class?   1
Name the types of mouse event listeners ?   2
why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?   2
Java does not support multiple inheritance. how interface helps in the same? Tcs 5
what is meant by package in java?   5
Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?   3
what is an anonymous class? TCS 5
Explain the difference between getAppletInfo and getParameterInfo?   1
what is the use of abstract class? AMDOC 3
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.   ::