<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4616332356661926833</id><updated>2012-02-16T00:49:11.095-08:00</updated><title type='text'>JAVA PROGRAMMING</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://learnjavatoday.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4616332356661926833/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://learnjavatoday.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>E BUSINESS ZONE</name><uri>http://www.blogger.com/profile/00295620283835312856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4616332356661926833.post-878261797689265762</id><published>2007-11-12T18:25:00.000-08:00</published><updated>2007-11-17T08:57:49.483-08:00</updated><title type='text'>JAVA PROGRAMMING</title><content type='html'>Java is a programming language. It is also a platform&lt;br /&gt;&lt;br /&gt;JAVA PROGRAMMING&lt;br /&gt;&lt;br /&gt;The Java programming language is a high-level, object oriented language. It is a third generation programming language like C, Fortran, Perl, and many others. You can use Java to write computer applications that support many functions.&lt;br /&gt;&lt;br /&gt;Java is most similar to C++. You can develop web applications using java.&lt;br /&gt;&lt;br /&gt;You can access Databases using Java Database Connectivity JDBC.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://javajdbc.blogspot.com"&gt;JAVA PROGRAMMING USING JDBC&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;JAVA has a virtual  machine. It is a piec of software that runs java applications.&lt;br /&gt;&lt;br /&gt;A platform is the hardware or software environment in which a program runs. Most platforms can be described as a combination of the operating system and underlying hardware. The Java platform differs from most other platforms in &lt;br /&gt;that it's a software-only platform that runs on top of other hardware-based platforms. The Java platform has two components: &lt;br /&gt;The Java Virtual Machine : A JVM is a piece of software that is responsible for running Java programs. The JVM is an &lt;br /&gt;abstract computing machine and (just like a real computing machine) has a defined instruction set. The JVM knows &lt;br /&gt;nothing of the Java language, only of a particular file format, the class file format. A class file contains JVM &lt;br /&gt;instructions (or bytecodes) and a symbol table, as well as other required information. It interprets the bytecodes that are written by the Java compiler appropriate for the platform.&lt;br /&gt;&lt;br /&gt;The Java Application Programming Interface (API) : The API is a large collection of ready-made software components that provide many useful capabilities. The Java API is a rich set of predefined classes that you can reuse in your programs to make your programming life easier. &lt;br /&gt;&lt;br /&gt;ADVANTAGES OF JAVA :&lt;br /&gt;&lt;br /&gt;1) JAVA IS SIMPLE : &lt;br /&gt;Java was designed to make it much easier to write bug free code.Because Java is simple, it is easy to read and write.The language is small so it's easy to become fluent. The language is interpreted so the compile-run-link cycle is much shorter. The runtime environment provides automatic memory allocation and garbage collection so there's less for the programmer to think about.Finally, it's very difficult (if not quite impossible) to write a Java program that &lt;br /&gt;will crash your system, something that you can't say about any other language.&lt;br /&gt;&lt;br /&gt;2) JAVA IS OBJECT ORIENTED : &lt;br /&gt;Object oriented programming is simpler and easier to read programs. It is more robust and error free. And to top it &lt;br /&gt;all, it is more efficient reuse of code. &lt;br /&gt;&lt;br /&gt;3) JAVA IS PLATFORM INDEPENDENT : &lt;br /&gt;Java applications consist of byte-code which may be interpreted by a virtual engine. Thus, the applications are able &lt;br /&gt;to run on any hardware for which a virtual engine exists.&lt;br /&gt;&lt;br /&gt;4) JAVA IS SAFE : &lt;br /&gt;There are no pointers in JAVA. Java programs cannot access arbitrary addresses in memory.Java implements a &lt;br /&gt;robust exception handling mechanism to deal with both expected and unexpected errors. The worst that an applet can do to a host system is bring down the runtime environment. It cannot bring down the entire system. Java, by &lt;br /&gt;making it easier to write bug-free code, substantially improves the security of all kinds of programs.&lt;br /&gt;&lt;br /&gt;5) JAVA IS HIGH PERFORMANCE : &lt;br /&gt;Java byte codes can be compiled in speed using a "just-in-time compiler". It is certainly possible to write large &lt;br /&gt;programs in Java. &lt;br /&gt;&lt;br /&gt;6) JAVA IS MULTI THREADED : &lt;br /&gt;Java is inherently multi-threaded. A single Java program can have many different threads executing independently and continuously. This makes Java very responsive to user input. It also helps to contribute to Java's robustness and provides a mechanism whereby the Java environment can ensure that a malicious applet doesn't steal all of the host's CPU cycles.&lt;br /&gt;&lt;br /&gt;7) JAVA IS DYNAMIC : &lt;br /&gt;Java does not have an explicit link phase. Java source code is divided into .java files, roughly one per each class in your program. The compiler compiles these into .class files containing byte code. Each .java file generally produces &lt;br /&gt;exactly one .class file. More importantly, classes that were unknown to a program when it was compiled can still be loaded into it at runtime. Furthermore, Java .class files tend to be quite small, a few kilobytes at most. It is not necessary to link in large runtime libraries to produce a (non-native) executable. Instead the necessary classes are loaded from the user's CLASSPATH.&lt;br /&gt;&lt;br /&gt;8) JAVA IS GARBAGE COLLECTED : &lt;br /&gt;You do not need to explicitly allocate or deallocate memory in Java. Memory is allocated as needed, both on the stack and the heap, and reclaimed by the garbage collector when it is no longer needed. There are constructors and &lt;br /&gt;these do allocate memory on the heap, but this is transparent to the programmer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4616332356661926833-878261797689265762?l=learnjavatoday.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnjavatoday.blogspot.com/feeds/878261797689265762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4616332356661926833&amp;postID=878261797689265762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4616332356661926833/posts/default/878261797689265762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4616332356661926833/posts/default/878261797689265762'/><link rel='alternate' type='text/html' href='http://learnjavatoday.blogspot.com/2007/11/java-programming.html' title='JAVA PROGRAMMING'/><author><name>E BUSINESS ZONE</name><uri>http://www.blogger.com/profile/00295620283835312856</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
