Q)Why are we using java?
A) The java using Code purpose because c/c++ using more coding.Example we have
one Application development we writting thounds of lines after the codes are error
which line is an error.so doesn't found the error.We find out the error long time.
we taken so java using,The java program we write thounds/lakhs of lines but the
the code is an error, the error find out easly.
A Few reasons for using java:
1)Built-in support for multi-threading, socket communication and memory-
management(automatic garbage collection).
2)Object Oriented(OO)
3)Better portability then other languages across operating systems
4)support Web based applications(applet,jsp,&Servlet),distributed applications
(socket, RMI,EJb etc) & n/w protocols with the help of extensive standardised
APIs
The java is platform independent & an object -oriented programming language.
Q) why java is suitable for Internet?
A) Java is suitable for Internet Because of some main reasons.java is System
independent,its programs can run on any type of operating System available on
Internet.
Q) What is the differance between an.execute file and a .class file?
A) .exe file contains machine language instructions for the microprocessor & it is
system dependent.A .class file contains byte code for the JVM & it is
System independent.
Q) what is the main differance between the java platform & other software platforms?
A) Java platform is a software-only plaform,which runs on top of the other hardware
-based platforms like UNIX,NT etc.
The Java platform has 2 components:
1)Java Virtual Machine(JVM)- jvm is a software that can be ported onto various hard-
ware platforms.Byte codes are the machine language of the jvm
2)Java Application Programming Interface (java ApI)
0 comments:
Post a Comment