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 ) Having 10 Years Experience

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

Do array subscripts always start with zero?
It purely depends on the programming language. C, C#, Java all provide array indices starting from zero (0). COBOL, FORTRAN, ALGOL etc. languages provide array indices starting from 1.
Profile Photo
Avishkar
when will you start for delivering lectures on C language
You can approach, I will teach in depth, make you profession c developer
Profile Photo
Surbhi
How do I program a game using C program?
Programming a game in C involves several key steps. First, you need to set up a development environment, typically using a compiler like GCC or a specialized game development framework like SDL (Simple...
Profile Photo
Sumitha
0 0
View Comments6

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

Ask a Question

Related Lessons

Basics Of C And C++
C++ is powerful, highly flexible, and adaptable programming language that allows software engineers to organise and process information quickly and effectively. But this high-level language is relatively...
Profile Photo

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...
Profile Photo

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...
Profile Photo

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...
Profile Photo

C Program-The Odd Loop Demo
/* WAP to print square value of the number entered by user using odd loop*/ //Header Files #include<stdio.h>#include<conio.h> //Main Function void main(){ char another='y'; int num,sq; //...
Profile Photo

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