Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between C++ and java?

Answers were Sorted based on User's Feedback



What is the difference between C++ and java?..

Answer / ridicule

The main difference b/w c++ & java is:
* c++ is a platform dependent language.
* but java is platform independent language.it can be run
on every system which contain java virtual machine(jvm)

*both use oop concept,
we can write a c++ pgm without using class but class is
must in java;
that is java is pure oop language

Is This Answer Correct ?    24 Yes 5 No

What is the difference between C++ and java?..

Answer / ramakrishna yechuri

c++ is not purely object oriented language.
becoz when ever u say a purely object oriented everything
should be written inside the class.

In c++ u can write member functions outside the class also.

2) Though u declare a variable with private access
specifier i can access outside the main function with the
help of friend function.

Java is 99% object oriented.
purely object oriented means there should not be any
primitative data types.
java contains primitive data types.

Is This Answer Correct ?    13 Yes 6 No

What is the difference between C++ and java?..

Answer / sudhir krishna

c++ and Java both are object oriented programming language.
but java is not fully object oriented language.
java is platform independent but c++ is platform dependent
language.

Is This Answer Correct ?    10 Yes 5 No

What is the difference between C++ and java?..

Answer / poorna

c++ and java these both are object oriented programming
langauge but java elimainated some of the difficulty of
pointers are eliminated in java

Is This Answer Correct ?    5 Yes 3 No

What is the difference between C++ and java?..

Answer / jenny bala

The major Difference between C++ and Java is,

1.C++ is not fully OOP language since we can write a program without class also, But in java we cannot write a program without class.

2.C++ is not fully platform independent where .class file is not generated if you didn't use class in your program. But in java all files will create .class file after compilation of program, so it's Fully platform independent.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between C++ and java?..

Answer / vijay pratap

The difference between java & C++.

i- Java is a platform independent language,
ii-In java, you can't use VIRTUAL key word.
iii-Java is not fully object oriented programming language.


C++

i-C++ is a fully OOP language.
ii-You can use the VIRTUAL keyword in C++.
iii-C++ is a plateform dependent Language.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

0 Answers   TCS,


What are the advantanges of modularity

2 Answers  


which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean

2 Answers   HCL, Wipro,


why we are declare the function in the abstract class even though we are declaring it in Derived class?

1 Answers   TCS,


What is the main feature of oop?

0 Answers  


What is encapsulation selenium?

0 Answers  


In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}

1 Answers  


What is function overloading and operator overloading?

4 Answers  


What is Dynamic Polymorphism?

13 Answers  


how to find no of instances of an object in .NET?

1 Answers   Infosys,


what type of questions

0 Answers   IBM,


What is design patterns in C++?

2 Answers   Persistent,


Categories