Introduction to Java
In this course we covered almost all required information about core Java.
Our team has created this tutorial in a very easy way and all java programs and java examples are tested and verified.
What is Programming Language?
- A set of instructions that tells a computer what to perform, called program.
- And the set of words and codes used to write programs, called program language.
- There are two type of programming languages:
- Low-level language
- High-level language
What is Java?
- In 1995, Java launched by Sun Microsystems.
- Java is a high level programming language.
- Java is an object-oriented language.
- OOP is a technique in which programs are written on the basis of objects.
- Java is cross-platform, compile once, run anywhere. Its mean you can write code on Windows and without make any change can use on Linux, and vice versa.
- Java is not only a programming language; it is a complete platform, with its huge library, such as a graphics rendering, Socket connection, database access and other complex operations.
- It also provides powerful capabilities of network programming and internet applications.
Java is widely used in:
Android Development: Android is the world's largest smartphone operating system nowadays. The main development language for Android applications is Java.
Web development: Java is very suitable for developing large enterprise websites.
Desktop Applications Development: Java also used to develop software on the computer.
Embedded applications, trading applications, financial applications and many other applications are developed in java.
Features of Java:
Easy to learn: Java syntax is a C ++ syntax clean version, no header files, pointer arithmetic, structures, unions, operator overloading, virtual base class and so on. C++ developers can easily switch to Java.
Object oriented programming: Java is totally based on OOP concepts that make it secure, code reuse and easy to modify the program.
Platform Independent: you can write code on one platform and can use on any other platform.
Secure: Byte-code verification and few Security-related APIs make Java a secure language.
Moreover, java doesn't support pointers, because pointers can lead to access the address. There are many other features on java.
Case Sensitive: Java is case sensitive language. It means that it can differentiate uppercase and lowercase words.