is java purely oop Language?
Answers were Sorted based on User's Feedback
Answer / ashutosh yadav
Java is pure OOP becoz it provides all the properties of OOP languagelike inheritance, polymorphism etc.
)As far as Non Availability of Multiple Inheritance is concerned Java provides that feature too with "Interface".
(2)although java supports Primitive data types but to make it pure OOP language it now provides Wrapper classes like Integer, Float, Double as Object implementation of Primitive data types.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sudipta mandal
Java is not pure OOPL because, programing language uses
only 1. Class 2. Object, those we can called as pure OOP.
If any language uses other features(Abstraction,
Encapsulation, Inheritance and Polymorphism) of OOP then
that language is not Pure OOP.
Another point is Pure OOP language can not use
primitive data types whereas java uses. That is why java is
not pure OOP language.
| Is This Answer Correct ? | 7 Yes | 10 No |
Answer / sridar
yes its a pure oops concepts...instead of multiple
inheritance we r using interface concepts...so we can say
its a pure object oriented language..
| Is This Answer Correct ? | 5 Yes | 8 No |
Answer / srinivas
java is not a pure oops language since it is using
primituive data types though it provides wrapper classes....
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / santhi
though it is a object oriented language, it doesn't support
few of oops like multiple inheritance.....
| Is This Answer Correct ? | 27 Yes | 32 No |
Answer / taher
Java is not purely Object Oriented Programming language
since it does not support the concept naming "Multiple
Inheritance".And other reason we can say is it still uses
data types like int,float,long etc.. with out creating objects.
These are the obvious reasons with which we can say it is
not "Purely Object Oriented Language" but "Strictly Object
Oriented Language" since it is supporting max of the concepts.
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / anandan
yes,because java consists of classes and interfaces within
a package.Also we can acess those methods only by objects.
sothat java is purely oop language.
| Is This Answer Correct ? | 3 Yes | 9 No |
Answer / anandan
yes,because java consists of classes and interfaces within
a package.so we can import the package and access the
members of that package
| Is This Answer Correct ? | 4 Yes | 12 No |
Answer / simranjit kaur
java is not purely oops based.because java cann`t suppport
multiple and multi level inheritance.
but java support
some oops aaplications like
encapsulation ,inheritance,abstraction.and polymorphism.
| Is This Answer Correct ? | 2 Yes | 10 No |
Answer / uma
till java5.0 its not pure oop.java6.0 is pure oop bcoz it
uses only primitive data type
| Is This Answer Correct ? | 1 Yes | 10 No |
What is object and example?
What language is oop?
What is design patterns in C++?
what is the difference between function template and template of function?explain with example.
How do you achieve polymorphism?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Which type does string inherit from?
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
Prepare me a program for the animation of train
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.