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

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

Education?

Blog banner

Memory management

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Blockchain

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

The seven-step improvement process

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

DATA BREACH CAUSES CHALLENGES PREVENTION AND FUTURE DIRECTIONS

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

File management in os

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

What is process

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

Some web vulnerabilities

Blog banner

Deadlocks

Blog banner

Predicting Student Performance with Data Science

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

Concurrency and memory

Blog banner

The Future of Cybersecurity: Trends, Challenges, and Strategies

Blog banner

Defining youtubr

Blog banner

Network Footprinting in Cybersecurity

Blog banner

10 Survival Tips that might save your life

Blog banner

Virtual Memory

Blog banner

Theads

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

INTRODUCTION TO C#

Blog banner

Password Generator - Lisp

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

Docker Framework

Blog banner

Whatsapp Messenger

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

HubSpot

Blog banner

OS Assignment 1

Blog banner

My favourite food

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

Lifestyle of a photographer

Blog banner