what are the main features of java language?

it is taken from computer science

11 Answers

Relevance
  • 10 years ago
    Best answer

    Java Features Are

    1) Simple,Small and familiar

    2) Object oriented

    3) Distributed

    4) Robust

    5) Secure

    6) Platform independent

    7) Portable

    8) Compiled and Interpreted

    9) High performance

    10) MultiThreading and interactive

    11) Dynamic and extensible

    1) Simple,Small and familiar

    Java is a simple and small language. The Syntax of java is just like c++, so it is very easy to learn. It is simple because it

    i) does not use header files

    ii) eliminated the use of pointer

    iii) operator overloading and virtual base classes are eliminated.

    2) Object oriented

    Java is a pure Object oriented . every thing in java is object. all programs and data reside inside objects and classes

    3) Distributed

    Java has networking facilities. so java can create application on network.

    4) Robust

    java gives importance to memory management by using the technique called Garbage Collection and Exception handling.

    5) Secure

    since java is used on internet, security is an important issue. A security code is asked before a java code is interpreted on internet.

    6) Platform independent

    Java compiler generates an platform independent code called bytecode.

    7) Portable

    The Bytecode generated by java can be used on any machine. So it can be portable.

    8) Compiled and Interpreted

    Generally computer languages are either complied or interpreted. but java combines both compiler and interpreted.

    9) High performance

    The use of bytecode makes the performance high. the speed is also high with comparing c, c++.

    10) MultiThreading and interactive

    Multithreading means handling more than one job at a time. Java supports Multithreading.

    11) Dynamic and extensible

    Java is a dynamic language. So it is capable of linking dynamic new classes, methods and objects. Java supports functions wriiten in c and c++ also.These functions are called native methods. During Run-Time Native methods can be linked dynamically.

  • 4 years ago

    Features of Java

    The main features of java is it is object oriented programming language. Features of any language are nothing but the set of services or facilities provided by the language vendors to the industry programmers. Some important features are;

    1. Simple

    2. Object oriented

    3. Secure

    4. Platform independent

    5. Multithreaded

    6. Architectural neutral

    7. Distributed

    8. Dynamic

    9. Portable

    10. High performance

    http://www.tutorial4us.com/java/features-of-java

    Attachment image
  • Erika
    Lv 4
    3 years ago

    Java Features

  • 3 years ago

    Features Of Java

  • What do you think of the answers? You can sign in to give your opinion on the answer.
  • 10 years ago

    features of JAVA

    Platform Independent

    Simple

    Object Oriented

    Robust

    Distributed

    Interpreted

    for more details

    http://www.roseindia.net/java/java-introduction/ja...

    • 5 years agoReport

      you can check also below link for java features.

      http://newtechnobuzzz.blogspot.in/2014/07/java-overview.html

  • 4 years ago

    The topic of your question is covered in college courses, where a significant portion of the course involves designing and building a compiler. A compiler (as of the mid 80s when I took the course) is made up of 3 basic parts. 1. The scanner. The scanner reads each character in program and groups the characters together into "tokens." Tokens will be reserved words in the language, such as "if", "for", "class", etc. It also groups symbols, such as "<", "<=", "==", etc. Most characters left over are usually comments and identifiers, such as class names, method names and variables. Scanners define their tokens using regular expressions, which can be converted into "finite automatans" which can sort them out. Using a human analogy, the scanner is like a person seeing a bunch of letters and organizing them into words. 2. The parser. Parsers take the tokens and organizes them using a grammar. Most modern computer languages are defined using a "context free grammar" also called a BNF grammar. It makes sure that if you start a block with a { that it ends with a }. It groups for loops, if statements, switch statements, etc. The parser will determine of your program is consistent with the language. If it isn't, the parser will probably generate a syntax error. Back to the human analogy, when people look at sentences, there's a grammar to it. Such as N-V-N, N-LV-N, N-V-N-N, etc. By parsing the sentence people can tell if the sentence follows the rules of the language or if the words are just random. 3. The semantic analyser. The semantic analyser takes the parsed program and puts meaning to it. It is at this step, that semantic analyser generates the object code. This is the code that really executes on your computer. It could be machine code, or higher level assembly like code, such as the Java Virtual Machine uses. Back to humans, we put meaning to the sentence and decide what the words mean and the message being conveyed by the sentence. The compiler kind does all of this in parallel. As the scanner determines a token, it passes it to the parser. As the parser completes a section of the grammar, it passes it to the semantic analyser. It does this until all characters are read. People do the same as the read a sentence. We see the letters, form them into words, parse the sentence a word at a time and construct the meaning as we read the sentence. After the compiler does all of this, it still doesn't mean your program is going to do what you want it to do; however, if will do exactly what you told it to do, even if that's not what you really meant.

  • Anonymous
    4 years ago

    This Site Might Help You.

    RE:

    what are the main features of java language?

    it is taken from computer science

    Source(s): main features java language: https://shortly.im/etNBT
  • 10 years ago

    java is a platform independent.

    source code security (no one know the source code of the program. because we use class file to RUN the program.

    If u use C, C++ the source used to run the program

    advantages of JAVA:

    • It is an open source, so users do not have to struggle with heavy license fees each year

    • Platform independent

    • Java API's can easily be accessed by developers

    • Java perform supports garbage collection, so memory management is automatic

    • Java always allocates objects on the stack

    • Java embraced the concept of exception specifications

    • Multi-platform support language and support for web-services

    • Using JAVA we can develop dynamic web applications

    • It allows you to create modular programs and reusable codes

    Another advantage of JAVA is that, ones the program is written in java we can run it anywhere means that application developed through Java is platform independent. JAVA based enterprise applications perform well because stable JAVA standards help developers to create multilevel applications with a component based approach.

    JAVA programming enables secure and high performance software development on multiple platforms. Many companies in India have well-qualified software engineers having expertise in Java, Java Script, J2SE, JSP, and J2ME, JAVA Programming Services help your businesses to do better. They provide variety of Java development services including project solutions.

    Source(s): http://www.articlesbase.com java.sun.com
  • 4 years ago

    most important feature of java is platform independent . it implies write once and run any where means the code written in java is executes in all the operating systems. this happens due to every operating system has their own enterprise java been.

  • Anonymous
    5 years ago

    It is a nice post!!!

    Java is an Object Oriented Programming. So, it offers Inheritance,Polymorphism, Class, Encapsulation and Abstraction and it also provide a lot of features.

    You can check following links for more information though this post also has a good content.

    http://newtechnobuzzz.blogspot.com/2014/07/java-ov...

    Thanks

    • 5 years agoReport

      <a href="http://newtechnobuzzz.blogspot.in/2014/07/java-overview.html">java featues</a>

Still have questions? Get answers by asking now.