Showing posts with label FAQ. Show all posts
Showing posts with label FAQ. Show all posts

Sunday, 24 March 2013

FAQ #6 What is the difference between Java and Java Script?

Answer: There is none except the word "Java". Java is programming language from Oracle. JavaScript is a scripting language from Netscape, which runs in the browsers.

FAQ #5 What is the difference between Application and Applet in Java?

Answer: Java applications runs as stand-alone application whereas applet runs in web browser. Application is a Java class that has a main() method. Applet class extends java.applet.Applet class.

FAQ #4 Do I need to know C++ to learn Java?

Answer: No, you don't need to know C or C++ to learn Java. Java is much simpler that C++.

FAQ #3 Where can I download latest version of Java?

Answer: Latest version of JDK can be downloaded from Oracle web site 

FAQ #2 What platforms is the Java-technology software available on?

Answer: Oracle provides ports of the Java 2 Platform for Windows 95, Windows 98, Windows NT, Windows 2000, Solaris-SPARC, Solaris-Intel, and Linux.

FAQ #1 Why there are no global variables in Java?

Answer: Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:
  • The global variables breaks the referential transparency.
  • Global variables creates collisions in namespace.
t> UA-39527780-1 back to top