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

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

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

What is difference between Multithreading and miltiprocessing?
Thread is a part of the program,so a program has multiple threads whereas multiprocessing means a cpu (or multiple cpu) process multiple programs at a time.
Milan
What are the advance features in java 1.8 when compare to java 1.6?
Many are there. 1. Lambda expression (functional Programming). 2. Default methods in interfaces.
Naresh N
Sir tell me some tips to code in java?
If you know C / C++ already, just try how will you able to achieve same examples in java. I prefer try to understand the fundamental of java and create small programs, then make the connectivity among them. Slowly build an application.
Nitinkumar
Between Java and Python, which one is better to learn first and why?
Both the development programs come with their strong suits. While Java allows you to enjoy the cross-platform support, Python helps you execute on at least ten different operating systems. It would help...
Priyanka
0 0
5
Why Java is not a Pure Object oriented Programming Language?
Bcoz java does not support - All predefined types are objects All operations performed on objects must be only through methods exposed at the objects.
Amit Kumar
0 0
9

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

Ask a Question

Related Lessons

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
0

Inheritance In Java
Inheritance: The process of getting properties and behaviors from one class to another class is called inheritance. Properties: Variables Behaviors: Methods The main purpose of the inheritance...
D

Deleted U.

1 0
0

1.3. Find the second largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 3, 4, 6, 5}; int max = Integer.MIN_VALUE, secondMax = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { if (arr >...

Class and Objects in Java
Class is a template or a blueprint which is used to describe an object. On other hand Object is a reference of a class which follows all the stuff written inside the class. How about taking the whole tour in the following video

Use of Service Locator Pattern
If we want to reuse the java code that should be the best approach w.r.t re-usability, maintanence and saving time to concentrate on our own businbess logic/requirement. In the similar approach many patterns...
M

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