wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

'C', 'C++' and 'Java': Head-to-Head

profile
Chayan Bhattacharjee
Mar 30, 2017
0 Likes
0 Discussions
492 Reads

Head-To-Head comparison of C, C++ and JAVA

C, C++ and Java are the most popular programming languages used today at a broad level. They have a pretty similar syntax for basic concepts. Most of the basic constructs like if statements, loops, function syntax, switch case statements and concepts like recursion are still valid. Many other concepts like the syntax for comments, and the idea of static class variables, also hold in both Java and C++. Java uses the syntax of C and structure of C++ language.There are many such aspects that need to be looked up and their comparison with java.

AspectsCC++Java
Developed Year197219791991
Developed ByDennis RitchieBjarne StroustrupJames Gosling
Successor of BCPLCC(Syntax) & C++ (Structure)
ParadigmsProceduralObject OrientedObject Oriented
Platform DependencyDependentDependentIndependent
Keywords326350 defined (goto, const unusable)
Datatypes : union, structureSupportedSupportedNot Supported
Pre-processor directivesSupported (#include, #define)Supported (#include, #define)Not Supported
Header filesSupportedSupportedUse Packages (import)
InheritanceNot SupportedSupportedMultiple Inheritance not Supported
OverloadingNot SupportedSupported (Method & Operator)Operator Overloading not Supported
PointersSupportedSupportedNot Supported
Code TranslationCompiledCompiledInterpreted
Storage AllocationUses malloc, callocUses 'new' Keyworduses garbage collector
Multi-threading and InterfacesNot SupportedNot SupportedSupported
Exception HandlingNot SupportedSupportedSupported
Storage class: auto, externSupportedSupportedNot Supported
DestructorsNo Constructor or DestructorSupportedNot Supported
Database ConnectivityNot SupportedSupported but complicatedSupported

The comparison chart just gives us a hint that which programming language provides which features. Thus for choosing any language for programming, be sure to know the basics. None of the programming language can claim to be "THE BEST", it all depends upon the choice of the individual. Java is definitely one of the mostly used language. The upcoming languages also has its features and older languages like C, VB, etc also has its own beauty.

 

Comments ()


Sign in

Read Next

Smartphone Security: Vulnerabilities and Attacks

Blog banner

Sagar Parikrama

Blog banner

Teenagers of Today

Blog banner

Satellite Based Positioning

Blog banner

Components of GIS

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Technological Advancement

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

ASANA- A Management System.

Blog banner

Memory input output management

Blog banner

Child labour

Blog banner

MYNTRA

Blog banner

Risk mitigation and management

Blog banner

Difference Between Classification And Clustering

Blog banner

File Organization and Access

Blog banner

Art and Culture of Rajasthan

Blog banner

Memory management and virtual memory

Blog banner

Student Grade Calculator in LISP

Blog banner

Fault tolerance

Blog banner

Whatsapp Messenger

Blog banner

Big Data Architecture

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

Sage business cloud accounting

Blog banner

Advantage of freedom

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

Memory

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

DISK SCHEDULING

Blog banner

CYBER SECURITY CHALLENGES

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

BUFFER OVERFLOW_142

Blog banner

Modern Operating Systems.

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

IT Service as as Value Creation

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Modern operating system

Blog banner

DNS Cache

Blog banner

Virtual machine.

Blog banner

Direct memory access (DMA)

Blog banner

PHISHING

Blog banner

Deadlock

Blog banner