Java vs C
Posted on: April 3, 2006 at 12:00 AM
Compare Java and C programming languages.

Java vs. C Language

In this section we will compare Java and C Programming languages. Both these languages are used to develop applications to solve business problem.

Java is object oriented, platform independent programming language. It can run on almost all the Operating Systems including windows, linux, solaris etc. It is not necessary to compile the program for each platform.

The C is procedural programming language and it is not platform independent. It is required to compile the program for targeted platform.

Here are brief comparison of two languages:

  • Language Type
    Java is Object oriented programming language while c is procedural language
  • Platform independence
    Java is platform independent while c is not.
  • Memory address
    In C pointers are used while in java references are used.
More Tutorials on for the topic Java vs C.
Java vs C
Java vs. C Language In this section we will compare Java and C Programming... Java is platform independent while c is not. Memory address In C... business problem. Java is object oriented, platform independent programming language
inheritence Vs inheritence
inheritence Vs inheritence  what are difference b/w c++ inheritence and java inheritence   Hi Friend, C++ supports Multiple Inheritance while Java does not. Thanks
Reference type Vs Object type. - Java Beginners
. They never contain the object. C++ object variables may be either, but Java supports only object references. For Example : Book bookvar = new Book("Java...Reference type Vs Object type.  Can anyone explain the exact
java vs .net - Java Beginners
java vs .net  which language is powerful now java or .net
java vs vb
java vs vb  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon
JETM vs Jprofiler
JETM vs Jprofiler  Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler
Order of list in java Vs Haskell.
Order of list in java Vs Haskell.  How to order of [1,2,3] to [1,2,3,2,1]in java
java vs vb
history of java  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon
portability vs platform independent
portability vs platform independent  sir, pls tell me 1.the differences between platform independent and portability related to java technology java provides security can i prove servlet is a single instance
Scanner vs. BufferedReader
Scanner vs. BufferedReader  I have to decide from these two classes to read a file. File is of .txt type and its size is around 4.5 GB. There other... way to read a file in Java?. Thanks
'String' vs 'StringBuffer' - Java Beginners
'String' vs 'StringBuffer'  What should i use String or StringBuffer?  Hi, First you need to rectify the question. Because StringBuffers append the data, and Strings concatenate the data. Since Strings are immutable
arraylist vs vector - Java Beginners
arraylist vs vector  hi, i want to know what is the difference between arraylist and vector in case of performance. in what cases we should go for arraylist and in what case we should go for vector. is there any   array
Servlet vs Class - Java Beginners
Servlet vs Class  I have worked on lot of projects and written number of classes myself. I have never started a project myself. Now I am assigned a task of starting a project. Could you please guide me if to start a project using
return 0 vs exit 0
return 0 vs exit 0  what is the difference between return 0 and exit 0 in c? i could not find any difference in their behaviour (both terminates the process execution) in a program
Java vs Oracle Connectivity - JDBC
Java vs Oracle Connectivity  Write a java program to establish connection with oracle database?  Hi Friend, Use Oracle with Java Follow these steps: 1) Import the following packages in your java file
Encapsulation VS Abstraction - Java Beginners
Encapsulation VS Abstraction  Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public...(); } Abstraction-The process of abstraction in Java is used to hide certain details
c or c++ - Java Beginners
c or c++  Write a program for a two user chess game(Users must be on different systems)? please send me this source code to my mail id with step by step explanation
c c++ - Java Beginners
c c++  Write a Multi-user chat server and client  Hi Friend, Please visit the following link: Hope that it will be helpful for you. Thanks
jdk 1.6 vs jdk 1.7
jdk 1.6 vs jdk 1.7  What is the difference between jdk 1.6 and 1.7...: 1)Java 1.6 runs faster than Java 1.5. 2)Java 1.6 makes programming easier... interface. 3)In java 1.6,Java DB, a new database management tool, has been included
c c++ - Java Beginners
c c++  Write a small record management application for a school...]; String name = f[1]; String c = f[2]; String note = f[3...]; String name = st[1]; String c = st[2]; String note = st[3]; if (id.equals
Servlets vs JSP - JSP-Servlet
Servlets vs JSP  What is the main difference between Servlets and JSP... and servlet act as a controller. 2)JSP pages contain a mixture of HTML, Java scripts, JSP elements, and JSP directives while servlet is totally uses java code. 3
Difference in XML, C, C++, Java
Difference in XML, C, C++, Java  hi... What is the difference between XML and C or C++ or Java ? please tell me about that Thanks
Java Vs Script
Java Vs Script      ... is similar to C++, but the syntax is simple and easy to understand. The Java have... ,then there is disadvantage, Java is slower than C++ programming language. So while its safety seems
java & c
java & c  why c language is called top down approach? why java is called bottom to top approach?   In C, compilation stats from the very... that in C the execution starts from the top and goes down to the bottom; Java
why to use hibernet vs jdbc
why to use hibernet vs jdbc  plz send me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC is database... to implement your java cache. 4) Development is faster in Hibernate than JDBC. 5
C/C++/JAVA Question on function
C/C++/JAVA Question on function  "Write a function to find out common... other data type also.ΓΆβ?¬Β? Question can be solved in C,C++ or JAVA. (Recommneded - C
Servlets Vs Jsp - JSP-Servlet
Servlets Vs Jsp  In servlets and Jsp's which one is important.... It acts as a Controller in MVC . It is a Java class implementing... JSP is a Presentation Layer. A Java Server Page is a slightly more complicated
PHP Vs Java Those who think that java scales and PHP not is wrong, PHP... Both PHP and Java runs on virtual machine. Java beat PHP on some performance... abstraction layer called PEAR::DB or a thin layer on the top C data access function
Probability Vs. Number of people table - Java Beginners
Probability Vs. Number of people table  The probability that at least two people in the group of 5 people will have the same birthday is: 1... loops we need to create a program that will show the table: probability vs. number
c - Java Beginners
c  image compression in c/c++ language
c++ - Java Beginners
c++  can i connect c++ with database like in java. do we need any special software for this purpose
about c and java
about c and java   i need java and c language interview and objective... visit the following links:
EasyEclipse for C and C++
EasyEclipse for C and C++       EasyEclipse for C and C++ is all you need to start developing C and C++ code with Eclipse. There are currently 28 comments
C++ Tutorials              C++ Tutorial Namespaces are a relatively new C++ feature just now starting to appear in C
c program - Java Beginners
c program  Write a program to encrypt a string and decrypt
C program - Java Magazine
C program  develop a simple program in C that allows a user to enter...: #include #include void main(){ int a,b,c,area,ar; clrscr(); printf...", &c); if((a==b)&&(b==c)&&(c==a)){ printf("Equilateral Triangle \n
c program - Java Beginners
c program  1. How to write a program to Add 2 numbers without using int .size should be more than machine size
classes in c++
classes in c++  1- design and implement a class datatype that implement the day of the week in the program.the class datatype should store the day... on this class.   Here is the Java code: public class DayType{ final
c++ - Java Beginners
c++  WHAT IS the use of#include<  Hi Friend, It is a non standard header file that contains clrscr(), getch() functions. clrscr()- It is used to clear the console screen. getch()- This function reads each
c++ - Java Beginners
c++  to write a program to display the elements in different format using single dimensional array with the help of function templates algorithm: 1.start the program 2.create a class elements 3.delete single
C# - Java Beginners
C#  program to print the following: 1 1 1 1 2 2 1 2 3 3 3 2 3 4 4 4 4 3 4 5 5 5 5 5 4  Hi Friend, We are sending you the code of your pattern in java. class Pyramid { public static void
Diff b\w C++ & Java
Diff b\w C++ & Java  What is the difference between C++ & Java
cmd in c++/JAVA - Java Beginners
C Language - Java Beginners
C Language  1. What are extension files? Give examples. 2. What is operating system? What are the different types available? 3. What is the purpose of operating system? 4. What is the function of operating system? 5
c++ - Java Beginners
c++  2. Use for loops to construct a program that displays a pyramid of Xs on the screen. The pyramid should look like this X XXX XXXXX XXXXXXX XXXXXXXXX except that it should be 20 lines high, instead of the 5 lines shown
c++ - Java Beginners
c++  1. Create the equivalent of a four-function calculator. The program should request the user to enter a number, an operator, and another number..., operator, second number: "; cin<<"%f %c %f", &num1, &ch, &num2 ); cin >
C - Java Interview Questions

range of int in c
range of int in c  What is the range of int in c/c++ and Java programming language
getResourceAsStream() vs FileInputStream
getResourceAsStream() vs FileInputStream  getResourceAsStream() vs FileInputStream
Difference between C++ and Java
Java and C++ are Object Oriented Programming (OOPs) language. Java... complex when compared to Java . C++ was designed for infrastructure programming and extends the C programming language. Java supports network computing

Related Tags for Java vs C:


Advertisement null