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

What's New in JDK 8 ?
1.Lamda Expressions I started with lambda expressions as this is probably the most sought after feature in the language after probably Generics/Annotations in Java 5. 2.Generic Type changes and improvements Taking...
Ashish
While teaching IT Student (MCA / BCA / BTech), I found most of the students are not having good programming skills but they are still running behind to learn .NET / PHP / PYTHON / ANDROID / JAVA. Why is it so? What we should do better to improve a sound programming skills among most of IT Students?
on college days they r learning c,c++ and following faculties are also giving a road map of "programming means" thease languages only , even these are the languages are familier , where you justify them...
Amit Kumar
What is IBM RAD(Rational Application Developer)?
RAD means Rational Application Developer for WebSphere Software accelerates the development and deployment of Java, Java EE, Web 2.0, mobile, OSGi, portal and service-oriented architecture (SOA) applications....
Ashish
What are the best books for learning programming languages like C (except let us C), Java, Python, etc.?
you can read "Head First Java",I do read it even now after having 6 years of working experience in Java when I want to refresh some concept. you can also read Core Java, Volume 1 and 2 by Cay S. Horstmann,...
Shashank
0 0
6
What is a good foundation course for JAVA?
I will not prefer any programming language or technology instead, You can focus on Concept and Principles. Because when you say your a programmer you should be a programmer rather than saying Java programmer,...
Rajeev J

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

Ask a Question

Related Lessons

Constructor Overloading
public class ConstructorOverloading { public ConstructorOverloading(){ System.out.println("default"); } public ConstructorOverloading(String a){ System.out.println("a"); } public ConstructorOverloading(int...
S

Sarthak C.

0 0
0

Tips for Entry Level Java Job Seeker
3 steps you should take to make a break as a Java developer: Step 1: Invest in improving your job hunting skills encompassing interviewing, networking, and resume writing skills. Step 2: Keep applying...
A

Akshay Shende

1 0
0

Why we need to learn Programming languages?
Language is medium for communication. If two parties like to communicate or exchange the thoughts they must know a language. Language should be understandable by both the Parties. For example A wants to...

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...

Features Of Java
There is given many features of Java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. Simple. Object-Oriented. Portable. Platform independent. Secured. Robust. Architecture...
V

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