Menu

Fundamental of Java 


Fundamental of Java 

Dear student First i want to Declare you, In this Article, i should provide only Fundamental of Java . Here you’ll found, some Basic knowledge about Java in other word Why Java, How it’s work system, What’s need for Java, History about java and Which type of Language is Java etc.Fundamental of Java

And bottom section you will find Short Basic Knowledge about Java like, What is , JVM, JDK, API, Object, Class And More….. Learn happly..  :- Author

Fundamental of Java

Java History:-

Java is an Object-Oriented Programming Language developed by James Gosling at Sun Micro-systems (now acquired by the Oracle Corporation), in 1995 Java is a platform independent language. In Java, Java program do not interact with OS directly. Java Virtual Machine (JVM) is used as an abstraction between the OS and the Java programs. This makes Java programs highly portable, a Java program can run on all supported platforms (e.g., Windows or Linux) without any modification Java initially called Oak after an oak tree that stood outside Gosling’s office and later renamed as Java because ‘Oak’ was a name already used by an older language. The name ‘Java’ is taken from the famous coffee bean of java island you can see Java logo is also a cup of coffee. It is not an acronym for “Just Another Vague Acronym.” The main purpose for developing java language is to control consumer electronic devices .Fundamental of Java

Java Features:-

The inventors of Java want to design a language which could offer solution to some of the problems encountered in modern programming. They want the language to be not only reliable portable and distributed but also simple compact and interactive Sun micro systems officially describes Java with the following attributes. All the the above appear to be a list appear to be a list of buzzwords they describe the full potential of the language. These features have made Java the the first application language of the world wide web. Java will also become the premier language for general purpose stand alone application.

Compiled and interpreted:-

Usually a computer language is either compiled or interpreted. Java combines both this approach thus making java a two stage system. First Java compiler translates source code into what is known as byte-code instruction . Byte-code are not machine instruction and therefore in the second stage Java interpreter, generate Java interpreter, generate stage Java interpreter, generate second stage Java interpreter, generate Java interpreter generate stage Java interpreter, generate machine code that can be directly executed by the machine that is running the Java program. We can just say thus Java is both a compiled and an interpreted language.

Platform Independent and portable:-

The most significant contribution of Java over the language, Language is its portability. Java programs can be easily moved from one computer system to another anywhere and anytime. Changes and upgrades in operating system processes and system resource will not foresee any changes in Java programs. This is the reason why Java has become a popular languages for programming on internet interconnects different’s  kind of system worldwide. We can download a java applet from a remote computer on to our local system via Internet and execute it locally. This makes the internet an extension of the users basic system providing basic system providing users basic system providing basic system providing practically unlimited number of accessible applets and applications.
Java insurance portability in two ways:-
1. First Java compiler generates byte-code instruction that can be implemented on any message.
2. Secondly the size of the primitive data types are machine independent.

Object Oriented:-

Java is object oriented language. Almost everything in java is an object. All program code in the other side with an object and classes. Java comes with an extensive set of classes arranged in package that we can use in our programs by inheritance. The object model in java is simple and easy to extend.

Robust and Secure:-

Java is robust language it provides safeguards to insert reliable code. It has district compile time and run-time checking for data types. It is designed as a garbage collected language relieving the programmers Virtually all memory management problems. Java also incorporates the concept of exception handling which capture series error and eliminates and risk of crashing of crashing crashing the system.
Security becomes an important issue for a language that is used for programming on internet. Threat of virus and abuse of the sources are everywhere. Java System not only verified all memory access but also in so that’s no virus are communicated with an applet. The absence of pointers in Java ensure that programs cannot get access to memory location without proper authorization.

Distributed:-

Java is designed as a distributed longer for creating applications on network.
It has the ability to share both data and programs. Java applications can open and access remote object on internet is easily as they can do in a local system. This enables multiple programs at multiple remote location to calibrate and work together on a single project.

Simple small and familiar:-

Java is a small and simple language. Many features of C and C++ that are either redundant or source of unreliable code are not part of Java. For example Java does not use pointer processor header file go to statement and many others. It’s also elements operator overloading and multiple inheritance.

Multi threaded and interactive:-

Multi threaded means handling multiple tasks simultaneous. Java support multi threaded program
This means that we need not wait for the application to finish one task before beginning and other. For example we can listen to an audio clip while scrolling a page and at the same time download an applet from a a distant computer. This feature greatly improve the interactive performance of graphical applications.
The Java Run-time comes with tools that support multi process synchronization and construct its monthly running interactive systems.

High performance:-

Java performance is impressive for an interpreter language mainly due to the use of intermediate byte-code. According to Sun Java Speed is comparable to the native C is comparable to the native C comparable to the native C / C + +. A java architecture is also designs to architecture is also designs to reduce overheads during run-time. Further incorporation of multi-threading in hence the overall execution speed of Java program.

Dynamic and extensible:-

It is  dynamic language. Java is capable of dynamic linking in new class libraries methods and object. It can also determine the type of class through a query making it possible to add dynamically linked or about the program depending on the response.
Java program support function write in other languages such a c and C++ . This functions are not as native methods this facility enables the programs to use the equations function available in the languages. Native methods are linked dynamically at run time.

Ease of development:-

Java 2 standard edition 5.0 supports features search a generic enhanced for loop, Auto-boxing and UN-boxing, Typesafe Enums, Varargs, Static import and annotation. This feature produced the work of the programmer by shifting the responsibility of creating the reusable code to the compiler. The resulting source code is free-form box because the errors made by the compiler are less than than compared to those made by programmers. Thus, each of the linguistic features is designed to develop Java program in an easier way.

Monitoring and manageability:-

Java supports a number of APIs , such as JVM monitoring and Management API, send management platform extension logging monitoring and management interfaces and the Java management extension to monitor and manage Java applications. For example Java provides JVM monitoring and management API to track the information at the application level and JVM level when deploying a large application application large application application. A Java Program to write write such jconsole, jod,jatay and karate to make use of monitoring and management facility. For example GUI based tool called jconsole is used to monitor the JVM.

Desktop Client:-

J2SE 5.0 provide enhanced features to meet the requirement and challenges of the Java desktop users. It provides an improved Swing look feel Called, Ocean. This feature is mainly used for developing graphics application that require OpenGL hardware acceleration.

End Fundamental of Java ….

 

Short Question From Java

POP:- Procedure-oriented programming (POP) language is a programming language in which a list of instructions is given to the computer to follow, in order to perform a task. These instructions are organized into groups which are known as functions(procedures) BASIC, BCPL, C, COBOL etc. all are Procedure oriented programming language.

OOP:- Object-Orientated programming (OOP) language is based objects, instead of just functions and procedures. It is an instance of a class, which allow individual objects to be group together. C+ +, C#, JAVA, Eiffel etc all are Object-oriented programming language.

JDK:- Java Development Kit is a set of tools which are used for Developing Java Programs.

JRE:- Java Runtime Environment is a collection of libraries and other components which are required to run code written in Java language.

JCL:- Java Class Library is a set of libraries that Java application can call at run time.

Source Code:- It is a code which written by the programmer in human readable form with proper programming syntax’s.

Bytecode:- Bytecode is the intermediate code generated by the Java compiler. Bytecode is run by JVM instead the original machine (computer processor) This code is platform- independent.

JVM:- Java Virtual Machine, a traditional execution environment converts Java bytecode into machine for execution.

API:- Application Programming Interface, is an interface implemented by a software program that enables it to interact with the other software’s.

Applets:- Java programs that can be run as a are the small part of web- documents.Basically it is used for Internet computing.

Thread:- Thread is a small program (or a part of a program) having single flow of execution

Inheritance:- When a class inherits or acquires the property of another class,this is known as Inheritance.

Object:- Object is an instances of class .lt is basically real-world implementation of the class having all those property values which are defined or structured in the class.

Tokens:- Tokens is the Smallest individual units in a program. Basically they are the individual words, symbols and punctuation marks.

Identifier:- It is a tag name for a particular entity.( for example variable, function). Which uniquely identifies it.

Programming Language:- It is an artificial language which is used to design instructions that are executed by a particular machine(computer) for performing some tasks(computation, evaluation etc.)

                                               END”

 

To Student,

I hope we Provide best service to our student, about Fundamental of Java. If you think yes?… Then go to comment section and Give us a Feedback. For Fundamental of Java.

Thanks

Fundamental of Java  - The Smolt

Fundamental of Java. here you Find all Basic Topics related to Java. Why Java?, How it's work?, more than 30 Short intro about Java like JVM,JDK,OOP etc.

Course Provider: Organization


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Learn For Free.
T H E S M O L T Learn For Free Download Our Android App in Free DOWNLOAD
+ +