JAVA
Introduction:
Java ias a simple and yet powerful object oriented programming language and it is in many respects similar to C++.Java is created by James Gosling from Sun Microsystems(Sun) in 1991. The first publicly available version of java (java1.0) was released in 1995.
Java is defined as a specification and consists of a programming language, a compiler , core libraries and a runtime machine (-Java virtual machine)
Uses of Java
Java is also used as the programming language for more different software , games, and add-ons.Features of Java
- Simple
- Object-oriented
- Platform independent
- Secured
- Robust
- Architecture neutral
- High performance
- Portable
- Multithreaded
- Distributed
Variables
A variable provides us with named storage that our program can manipulate.
Folllowing are some valid examples of variables:
int a,b,c;
//declares three int, a,b,c
double pi=3.14159
//declaresand assigns a value of pi
Constant:
During the execution of program, value of variable may change. Aconstant represents permanent data that never changes.
Imprtant Questions related Java
- List any five features of Java?
No comments:
Post a Comment