UrbanPro

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is difference between Java and C?

Asked by Last Modified  

3 Answers

Learn Java

Follow 3
Answer

Please enter your answer

C language Faculty (online Classes )

C is a procedural programming language. Java is an object-oriented programming language. C code is compiled to machine code for a specific platform. Java code is compiled to bytecode, which is then interpreted by the Java Virtual Machine (JVM) on any platform.
Comments

My teaching experience 12 years

Java and C are both programming languages, but they have several key differences: Platform Independence: Java is platform-independent, meaning Java code can run on any device that has a Java Virtual Machine (JVM). C code, on the other hand, needs to be compiled separately for each target platform. Memory...
read more
Java and C are both programming languages, but they have several key differences: Platform Independence: Java is platform-independent, meaning Java code can run on any device that has a Java Virtual Machine (JVM). C code, on the other hand, needs to be compiled separately for each target platform. Memory Management: Java has automatic memory management (garbage collection), which simplifies memory handling for developers. C requires manual memory management, and developers need to allocate and deallocate memory explicitly. Syntax and Structure: Java has a syntax similar to C++, making it more readable and object-oriented. C is a procedural language with a simpler syntax compared to Java. Compilation: Java code is compiled into bytecode, which is then executed by the JVM. C code is compiled directly into machine code for a specific platform. Pointer Usage: Java does not support pointers, which can simplify memory-related errors. C allows the use of pointers, providing more direct control over memory but also increasing the risk of bugs. Concurrency: Java has built-in support for multithreading and concurrency. C requires additional libraries or manual implementation for concurrent programming. Usage: Java is commonly used for web development (server-side), mobile applications (Android), and enterprise-level applications. C is often used for system-level programming, embedded systems, and performance-critical applications. In summary, while both languages are powerful, the choice between Java and C depends on factors such as the project requirements, development goals, and the desired balance between control and ease of development. read less
Comments

Python trainer believe in practical learning.

Java is a high-level, object-oriented programming language known for its platform independence and robust standard library. It requires a virtual machine (JVM) to execute code and offers automatic memory management. C is a mid-level programming language known for its efficiency and flexibility. It operates...
read more

Java is a high-level, object-oriented programming language known for its platform independence and robust standard library. It requires a virtual machine (JVM) to execute code and offers automatic memory management.

C is a mid-level programming language known for its efficiency and flexibility. It operates closer to the hardware, allowing direct memory manipulation and providing more control over system resources. It requires compilation into machine code specific to the target platform.

The key differences lie in their level of abstraction, memory management, and execution model, with Java being more abstracted and offering automatic memory management compared to C, which provides more control but requires manual memory handling.

read less
Comments

View 1 more Answers

Related Questions

1.What is Model Driven Interceptors is used for? 2.what is the purpose of using Action support??
Using ActionSupport class, we can implement Custom validation which validates at the server-side. We can write server side validation logic in validate() method.
Monisha
Which is better, PHP or Python? Why?
Python . Simple syntax,More readable,General purpose programming language
Kartheek
0 0
5
I completed my graduation in 2017, now working as an HR Executive in a Consultancy. I want to move to IT Sector. Which course is best for me to learn and get success in life? Please Suggest me
Dear Kumar, My suggestion is to - become good in one programming language - preferably Java and one O/S preferably Linux. Be aware of Open Source systems. Try to identify the opportunities in your existing...
Kumar
Can you tell me some new features in JavaFX 2.0?
JavaFX is a software platform for creating and delivering desktop applications, as well as rich internet applications (RIAs) that can run across a wide variety of devices. JavaFX is intended to replace...
Renuka
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

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

Try to clear up the basics, if basics are clear then you can go ahead with any difficult problem
Hey guys, To all the students i just want to convey that just clear up your basics so that they can help you solve anyu problem and you would achieve a great success. Regards, Ishani Chakraborty


ClassNotFoundException vs NoClassDefFoundError
ClassNotFoundException NoClassDefFoundError It is an exception and happens due to programmer’s mistake and can be recovered by updating the code. Thrown when an application tries...

Mastering in Java Programming
Core java topics What is Java?Execution Model Of JavaBytecodeHow to Get Java?A First Java ProgramCompiling and Interpreting ApplicationsThe JDK Directory StructureUsing Eclipse Data types and Variables What...

Recommended Articles

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more