Java Programing laungage

Core Java Tutorial

Introduction of Core Java

How To Install JDk and Set of Path

Syntax of java Program

Difference between Java and C/C++

Advantage and Disadvantage of Java

What is Java

Why Java is not Pure Object Oriented Language

Java has Following Features/Characteristics

Limitation of Java Language and Java Internet

Common Misconception about Java

Simple Program of Java

Integrated Development Environment in java

Compile and Run Java Program

Applet and Comments in Java

Tokens in Java

Keywords in Java

Identifier and Variables in Java

Literals/Constants

Data Type in Java

Assignments and Initialization in Java

Operators in Java

Rule of Precedence in Java

Operator on Integer and Separators in Java Programming

Java Control Flow of Statements

If and If-else Selection Statement

Nested If-else and If-else-If Selection Statement

switch case and conditional operator Selection Statement

for and while Loop

do..while and for each Loop

break and labeled break statement

continue and labeled continue statement

return Statement and exit() Method

Escape Sequence for Special Characters and Unicode Code

Constants and Block or Scope

Statement in Java

Conversions between Numeric Types in Java

Import Statement in Java

User Input in Java using Scanner Class

User Input in Java using Console Class

Array in Java

One Dimensional Array

Two Dimensional Array

Two Dimensional Array Program

Command Line Argument in Java

String args Types in Java

Uneven/Jagged array in java

Math Class Function and Constant

Math Class all Function used in a program

Enumerated Types in Java

Object Oriented Programming v/s Procedural Programming

Object Oriented Programming Concepts in Java

Introduction to Class,Object and Method in Java

Class Declaration in Java

Class & Objects in java

Encapsulation in Java

Modifiers/Visibility for a Class or Interrface or member of a Class

Polymorphism in Java

Runtime polymorphism (dynamic binding or method overriding)

Difference between Java and C/C++
Previous Home Next

Difference between Java and C

  1. Java is a platform independent language. But c is not a platform independent is depends on operating system machine.
  2. Java uses both compiler and interpreted, but c is uses compiler only.
  3. Java is object oriented programming language but c language is procedural as well as structured programming language.
  4. In c memory management is manually using malloc( ) and free( ), but java provides a garbage collector to manage memory.
  5. Goto statement is used in c but it not used in java.
  6. In c variable declared in a program beginning of the block and java variable declared anywhere in the program .
  7. Java does not support pointer but c support pointer.
  8. C language is used preprocessor (e.g # define) but java not support prepocessor.
  9. Java does not support operator overloading but c support operator overloading.
  10. java does not support global variable but c is support global variable.
  11. String is an array of Characters into C .But in case of Java String type is as Object.

 

Difference between Java and C++

  1. Java is a platform independent language language. But c++ is not a platform independent language it depend on operating system machine.
  2. Java does not support multiple inheritance but, c++ support multiple inheritance.
  3. java does not support pointer, union, structure, templates, operator overloading but, c++ is support pointer, union, structure, templates, operator overloading and pointer arithmetic.
  4. java uses compiler and interpreter both but, c++ is use compiler only.
  5. At compilation time java program first java source code is compile then generate byte code means (.class ) and after interpreted convert the machine code before execution. But c++ run and compile uses compiler which convert source code into machine language.
  6. Java has support method overloading but not support operator overloading. C++ support both method overloading and operator overloading.
  7. Java has primitive data type like boolean which are not available in c++.
  8. java has support documentation comment( /**............*/ ) , but c++ is not support documentation comment.
  9. Java does not support scope resolution operator (: :), But c++ is support resolution operator.
  10. Java does not support goto (but goto is reversed word).
  11. C++ is more nearer to hardware then java.
  12. Java does not support unsigned integer.
  13. Java does not support global variable.
  14. Thread support built in java but not c++.
  15. Java does not support header file just like c++. it use import to add the class and interrface.
  16. Exception and Auto Garbage Collector handling in Java is different because there are no destructors into Java.
Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: