Java is one of the best high level language.Application development is not only task of software engineers, they are supposed to build and structure products for clients that meet their expectations, provide the features they need and be supported by strong backup.
In earlier times, writing code for developing applications was, essentially, rocket science. There were very few people who could actually write programs that were useful and functional.
Looks familiar to existing programmers: related to C and C++:
Omits many rarely used, poorly understood, confusing features of C++, like operator overloading, multiple inheritance, automatic coercions, etc.
Contains no goto statement, but break and continue
Has no header files and eliminated C preprocessor
Eliminates much redundancy (e.g. no structs, unions, or functions)
has no pointers
Added features to simplify:
Garbage collection, so the programmer won't have to worry about storage management, which leads to fewer bugs.
A rich predefined class library
In an object-oriented system, a class is a collection of data and methods that operate on that data. Taken together, the data and methods describe the state and behavior of an object. Classes are arranged in a hierarchy, so that a subclass can inherit behavior from its superclass.
Java comes with an extensive set of classes, arranged in packages, that you can use in your programs.
It has a spring-like transparent RPC system
Now uses mostly tcp-ip based protocols like ftp & http
Java supports various levels of network connectivity through classes in the java.net package (e.g. the URL class allows a Java application to open and access remote objects on the internet).
rapid turn-around development
Software author is protected, since binary byte streams are downloaded and not the source code
language restrictions (e.g. no pointer arithmetic and real arrays) to make it impossible for applications to smash memory (e.g overwriting memory and corrupting data)
Java does automatic garbage collection, which prevents memory leaks
extensive compile-time checking so bugs can be found early; this is repeated at runtime for flexibilty and to check consistency
access restrictions are enforced (public, private)
byte codes are verified, which copes with the threat of a hostile compiler
compiler generates bytecodes, which have nothing to do with a particular computer architecture
easy to interpret on any machine
no "implementation dependent" notes in the spec (arithmetic and evaluation order)
standard libraries hide system differences
the Java environment itself is also portable: the portability boundary is POSIX compliant
Even after binaries have been released, they can adapt to a changing environment
Java loads in classes as they are needed, even from across the network
It defers many decisions (like object layout) to runtime, which solves many of the version problems that C++ has
Dynamic linking is the only kind there is
In earlier times, writing code for developing applications was, essentially, rocket science. There were very few people who could actually write programs that were useful and functional.
The concept of object-oriented languages changed that by allowing programming to be related and to map to real-world entities in terms of actors and actions. The object-oriented paradigm of software programming encompasses all the features of object-oriented languages. These include:
1.Polymorphism :- One general interface acts as a multiple class of actions. It is usually seen in the case of methods in Java.
2.Inheritance: Promotes code re-usability and building stronger subsystems on top of existing structures
3.Encapsulation: Binding the code and data together to keep it safe from outside interference and prevent information abuse
4.Abstraction: Intrinsic details are hidden with an interface-based layer for users. The removes the concern for deep diving into lower-level information pertaining to the system.
These features are more or less common to all the languages that follow or support the object-oriented model.
These features are more or less common to all the languages that follow or support the object-oriented model.
However, the degree to which they conform to the above specifications is what sets them apart from their counterparts. The way they can be modulated and work in favor of both the developer and the end users is something that matters a lot.
Simple
Object-Oriented
Java is an object-oriented language, which means that you focus on the data in your application and methahods tt manipulate that data, rather than thinking strictly in terms of procedures.In an object-oriented system, a class is a collection of data and methods that operate on that data. Taken together, the data and methods describe the state and behavior of an object. Classes are arranged in a hierarchy, so that a subclass can inherit behavior from its superclass.
Java comes with an extensive set of classes, arranged in packages, that you can use in your programs.
No comments:
Post a Comment