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
494 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

Vulnerability Assessment

Blog banner

5 Common Faults In Construction Tenders

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Service design process in ITSM

Blog banner

BUFFER OVERFLOW_142

Blog banner

What is Amazon?

Blog banner

Virtual Memory

Blog banner

CSI and Organizational Change

Blog banner

Self defence

Blog banner

File Organization and Access

Blog banner

File Management system

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Cyber Security in Data Breaching

Blog banner

Impact of social media on the human life

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Importance Of Time

Blog banner

Mumbai local ......

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

Indian Food

Blog banner

Evolution of Operating Sytems

Blog banner

Security Breaches in Stock market trading

Blog banner

Kafka - A Framework

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Virtual Memory

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

Session Hijacking

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Big Data Architecture

Blog banner

What is metaverse?

Blog banner

IT RISK

Blog banner

Delhi city

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Ethical Hacking

Blog banner

Creating Digitally Signed Document

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

File Systems in OS.

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

DATA BREACH CAUSES CHALLENGES PREVENTION AND FUTURE DIRECTIONS

Blog banner