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

I am online Quran teacher 7 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

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

View 1 more Answers

Related Questions

Is it possible to instantiate the abstract class?
Use anonymous class. Example: For an abstract class AbstrClass. AbstrClass ac = new AbstrClass() { public void m1() { // code...
Reshma

What is meant by Java full stack and angular Java?

Fullstack development means the combination of UI technologies (client-side) + Backend technology (server-side). UI technology like Angular or ReactJs (Front end technologies). It's all about client-side...
Anuradha
will I get certificate
Better than certificate if you enroll with me you will get confidence and lot of practical knowledge...certifications dont matter after a period of time what really matters is your approach to a problem...
Sk.
why can't we create an object for abstract class? why wait,notify,notifyall methods were in object class but not in thread class?
The Generalized object can be a abstract class in the sense. Consider we have three object Employee, Manager, and Engineer we can establish the relationship like Manager extends Employee , Engineer extends...
Jilani

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

Ask a Question

Related Lessons

How 4 byte float can store 8 byte long values in java ?
long l = 12464545L; float f = l; (fine) int i = l ; (Error) if we see the how this magic happens as we know the answer lies in the floating point representation as in floating points values does not...

Facebook Analytics
Assume how the Facebook application will store the millions of customer's record in real-time: facebook = { 'jose': { 'name': 'jose', 'age': 33, 'hobby': , # cricket,football 'mobile': 1111111111, 'email':...

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

Java Overview
Java platform overview Java platform components The Java platform consists of the following components. The Java language Like any programming language, the Java language has its own structure, syntax...
A

Akshay Shende

0 0
0

Interview Tip : Q1) Why Strings are immutable in java ? What happen if it was mutable in java?
As we all know that Strings in java are immutabe in nature, now the question comes why the creator made it immutable in nature, although this field used maximum in any java program. The answer to this...

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