Now a days in computer languages java is very famous . it is developed by
James Gosling in Sun MicroSystem in 1991. initially it was developed for the TVs, VCR and other electronic devices .
it is really a simple and powerful language earlier it's name was Oak after
it is changed. Approax 1 Billion Devices runs on java applications now a day's. Java is like Boon for Programming.
Java features
- Platform independent and portable
- Familiar simple and small
- High Performance
- Multithreaded
- Object oriented
java works with object and classes that's why it it different with c . Java
does not support some features of C statements and keywords. Java does not have template classes as in C++, java does not support pointers and global varibles as in C and C++ , there are no header files in Java.
Java programs
we can create two types of java program
- Stand alone applications
- Web applets
Java program examples
public Class message
{
public static void main (String args[])
{
System.out.println("Java is backbone of programming");
}
Output
Java is backbone of programming.
Java Compilers
- BlueJ
- jEdit
- Android Studio
- Netbeans
- jGRASP
Note-
- Java works on 'ByteCode'.
- it's programs works on WORA (Write Once Run Anywhere).
No comments:
Post a Comment