Java is called as pure objerct oriented programming
language, where as c++ is not completely object
oriented.can any explain the detailed differenec between
these two
Answers were Sorted based on User's Feedback
Answer / khushi
java is platform independent language and c++ is platform
dependent language.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / krishna
java allows primitive variable,and it also allows static
methods and classes so its not purely object oriented
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / nikhil
c++ is like nokia mobile where as java is like i-phone
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / paru jain
Because in java it is necessary is use class and object.
and Class and Object is the basic concept of java. In c++
it is not necessary to use clas and object
So java is Pure object Oriened Language
| Is This Answer Correct ? | 0 Yes | 2 No |
can php support multiple inheritence?
About CLR, reflection and assemblies?
What is the merger sort principle and its time complexity.
what is the software to run the GSM gate opener program
WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.
How do i find out the number of parameters passed into function?
what is programming language?
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
what is the diffrence between occur 0 and occur 10 in ABAP.
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.
What is the difference between procedure -oriented language and object oriented language?
22 Answers IBM, Infosys, TCS,
Create a class TicTacToe that will enable you to write a complete program to play the game of Tic-Tac-Toe. The class contains as private data a 3- by-3 double array of integers. The constructor should initialize the empty board to all zeros. Allow two human players. Wherever the first player moves, place a 1 in the specified square; place a 2 wherever the second player moves. Each move must be to an empty square. After each move determine whether the game has been won and whether the game is a draw. If you feel ambitious, modify your program so that the computer makes the moves for one of the players automatically. Also, allow the player to specify whether he or she wants to go first or second. If you feel exceptionally ambitious, develop a program that will play three-dimensional Tic-Tac-Toe on a 4-by-4-by-4