
- Forum
- Programming Talk
- Java
- Is Java 100% oops language?
Is Java 100% oops language?
This is a discussion on Is Java 100% oops language? within the Java forums, part of the Programming Talk category; s java is 100% object oriented because every thing in java is a object ......from the properties of java i.e; ...
-
05-10-2010, 08:54 AM #21
- Join Date
- May 2010
- Answers
- 2
s java is 100% object oriented because every thing in java is a object ......from the properties of java i.e; java buzz words.
-
05-27-2010, 12:07 PM #22
- Join Date
- May 2010
- Answers
- 1
It clearly is an oops.
Maybe there are better examples of object orienteated programing scripts out there but Java is pretty damn versatile.
Like most things it depends on how you use it.
-
06-19-2010, 02:19 AM #23
- Join Date
- Jun 2010
- Answers
- 1
Java is Not Pure OOP Language......
Since it supports static keyword.
And We can not overload any operator explicitly....
It Does not Support Multiple Inheitance Directly...(But Indirectly with the
help of interfaces)
-
08-18-2010, 10:09 AM #24
- Join Date
- Jun 2010
- Answers
- 1
s Java 100% object oriented programming language?[/QUOTE]
no,because in java there is no multiple inheritence,but we can do multiple inheritance by using abstract method.the abstract method derived by multiple classes.so we can say java is not pure oop language.
Ref :java2s.com
-
08-25-2010, 07:46 AM #25
- Join Date
- Sep 2009
- Answers
- 1
As java allows non oop components like static blocks and data types such as numeric,char, its considered not 100% oops , however java's wrapper classes overcome this obstacle,but still java doesn't restrict you from writing non Object Oriented code
-
09-23-2010, 08:12 PM #26
- Join Date
- Sep 2010
- Answers
- 1
java is not fully oop because it dosent support mutliple inheritance
-
Someone Says java is not 100% oops becz, int,float etc primitive datatypes are not objects. But java implemented Wrapper classes for this primitive Types to make them in to object types.
So java is 100% oops .
Sorry i am wrong and comments are welcome
-
03-30-2011, 05:02 AM #28
- Join Date
- Mar 2011
- Answers
- 6
Java is not 100% OOPs lanaguage, because java doesnt support the Multiple Inheritance..
-
05-19-2011, 06:47 AM #29
- Join Date
- May 2011
- Answers
- 5
The answer is YES!!!
Java is 100% pure object oriented programing language..
Let's see wht is object oriented programing language means.
It is a programing language, which is oriented(i.e.,the main role) of objects.
Eg: we see movies, some movies are heroine oriented movies/ action oriented/ comedy oriented that means the entire movie is about the heroine/ action/ comedy.
So it is clear that is java is oriented of objects.
Our question is , is java is pure object oriented or not.
Actually, where do the objects come from.... obviously its from a class.
without the class we cannot create objects.
In order to write a java program we definetly requires at least one class, without using of a class it is not possible to run a java program.
So, without a class( using which we create objects) there is no java program.
Finaly without an object there is no java.
JAVA IS 100% PURE OBJECT ORIENTED PROGRAMING LANGUAGE.
C++ IS AN OBJECT ORIENTED PROGRAMING LANGUAGE BUT PARTIALY becoz even without using a single class also ,we can write a c++ program
Eg:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<endl<<"hi";
getch();
}
ur's
sudheer
-
I think it would function as an object oriented language if you make use of its functions. I have tried coding on Java using the same flow you do in C, and that would not be considered but that is Java anyway.
Object oriented depends if you use the inheritance, abstraction, etc. but if you keep the sequential programming implementation, then that could not be considered as such.
-
Sponsored Ads

Reply With Quote







