What is difference between Java and C?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

"Transforming your struggles into success"

Java is platform-independent, uses automatic memory management (garbage collection), and is object-oriented, while C is platform-dependent, requires manual memory management, and is procedural.
Comments

C language Faculty (online Classes )

C follows a procedural programming model, emphasizing functions, while Java is object-oriented, focusing on objects and classes. C code is platform-dependent, requiring recompilation for each platform, whereas Java's "Write Once, Run Anywhere" philosophy makes it platform-independent.
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

Differences between Java and C include: 1. Paradigm: Java is object-oriented; C is procedural. 2. Memory Management: Java has automatic garbage collection; C requires manual management. 3. Platform Independence: Java runs on the JVM; C is platform-dependent. 4. Syntax: Java has stricter...
read more
Differences between Java and C include: 1. Paradigm: Java is object-oriented; C is procedural. 2. Memory Management: Java has automatic garbage collection; C requires manual management. 3. Platform Independence: Java runs on the JVM; C is platform-dependent. 4. Syntax: Java has stricter syntax and includes features like interfaces and exceptions. 5. Performance: C generally offers better performance due to lower-level operations. read less
Comments

View 1 more Answers

Related Questions

What is a void main() in the C programming language?
In C programming, void main() is an incorrect signature for the main function. The correct signature is int main(). The main function serves as the entry point for C programs and typically returns an integer...
Ambar
0 0
5
How can I write a C program to print a name without using a semicolon?
void main() { if(printf("Your Name")) { } }
Anand
0 0
6
What is an lvalue?
L-value is short form for left side value. Similarly, r-value, means, right side value.
Nagasanthoshi
What is = and == in C language?
'=' (Assignment Operator): The single equal sign = is used as an assignment operator. It is used to assign a value to a variable. '==' (Equality Operator): The double equal sign == is used as a relational...
Sayed
0 0
9
How do I learn C programming easily?
focus on hands-on practice by writing, running, and debugging code.
Altaf
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

What Would Be Life Cycle Of A Fresher After Campus In An IT Company?
1. Basic Technical Training: Since freshers are not subject matter experts so gone through 3 - 6 months basic technical training within Organization. 2. Technical Assessment: HR sends freshers to various...

C Program to print Block Letter and Small Case Alphabets using C
/* WAP to print Block Letter and Small Case Alpahbets using C*/ //Hint:use ascii code(value) to print #include#include void main(){ int i; clrscr(); //Block Letters Alphabets printf("Block Letters Alphabets\n");...

C Program-Prime Number
/*WAP to print a number entered by the user is prime or not*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ int num,i; //Function for clearing screen clrscr();...

Structures in C
A structure is a collection of one or more data members possibly of different data types, grouped together under a single name for convenient handling. Defining a Structure: In general terms,...

What is Safety-Critical Software?
A software whose failure may cause death or injuries to the users called Safety-Critical Software.The software present as part of Aeroplanes, or present in Rail as railway signalling software or Automotive...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you