answersLogoWhite

0

Why do you require a object in java but not in C?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

Because Java is an object-oriented language and C is a procedural language.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you require a object in java but not in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Major difference between c and java?

Java is object oriented, C is not...


Header files in Java programming?

Java does not require header files like C/C++.


What are the features in java that makes it similar to C programming?

Java is not similar to C. Java is, however, similar to C++. Both C++ and Java are object orientated programming languages (OOPL's).


What language is completely object oriented c plus plus or java?

Java is the complete object oriented Programming Language as every thing in java is an object,


Difference between java and C plus plus?

java is an advanced object oriented programming language than c++


What are the examples of object oriented programming environments?

Java, C++


What is the difference between cc plus plus and java?

C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.


Hi friends i am new to java can you explain how java is secured?

java is an object oriented programme it is similar to c++ so if you know very well in c++ you can easily figure it out.


A full object oriented c plus plus will kill off java discuss?

C++ is object oriented. Java is around largely because many people didn't like how it was designed.


What are examples of Object Oriented programming language?

Machine code, assembly language and C are all non-object oriented programming languages. Fortran, COBOL, Pascal and BASIC were originally non-object oriented languages but there are now object-oriented variants of these languages. C++, C# and Java were all designed with object-oriented programming in mind from the outset.


What are the features differentiate java from c plus plus and c?

Java compiles to byte code suitable for interpretation by the Java virtual machine, whereas C and C++ both compile to native machine code. Thus C and C++ programs perform better than equivalent Java programs. However, Java programs can run on any machine with a suitable Java virtual machine implementation, which is pretty much everything these days. C and C++ programs must be compiled separately upon each supported platform, provided the source code is either generic or includes compiler directives to filter the platform-specific code. Java programs need only be compiled once, thus cross-platform development is greatly simplified, at the cost of performance. C and Java cannot really be compared since C does not support object-oriented programming concepts. C++ is object-oriented but, unlike Java, it is not 100% object-oriented as it supports the concept of primitive data types that it inherited from C. Java is more closely related to C#, which is 100% object oriented.


How do you find size of any object in java OR is there any operator or fun.. equivalent size of in c plus plus?

No, there is no such operator or function in Java that can tell you the amount of memory an object uses.