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

What is a Malware ?

Blog banner

Topic: Sessions in Operating system

Blog banner

Rapido

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Deadlock

Blog banner

Women Empowerment

Blog banner

Types of Threads

Blog banner

Digital Marketing - The new way to reach end consumer

Blog banner

Security and E-mail

Blog banner

Disk Scheduling

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

File system

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

CyberSecurity Color Wheel

Blog banner

Memory Management

Blog banner

Having passion in life

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Quality check in IT services

Blog banner

Mariana Trench: The deepest depths

Blog banner

Explain Multiprocessors

Blog banner

Online Education

Blog banner

STARVATION

Blog banner

Data is an asset and it is your responsibility!

Blog banner

IT security management

Blog banner

Types Of Interrupt

Blog banner

Microsoft powerpoint presentation

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

Cache Memory in Operating Systems

Blog banner

Atlantis - The Lost Island.........

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Uniprocessor scheduling

Blog banner

Hacking

Blog banner

An Overview of Virtual Machines

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Top 10 Logos and their meanings

Blog banner

Memory

Blog banner