What are object oriented concepts?

What are object oriented concepts?
[41 byte] By [ppatidar2001a] at [2007-9-29 12:24:39]
# 1
Please refer to "New to Object Technology Forum". If you dont find it there, refer to "New to Book Reading Forum". If still you cant find it, refer to "New to Alphabet Recognition Form" (of course at this point you wont be able to read, so take help of a friend).Ironluca
LeMercenairea at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Here's a possible list:abstract data typesencapsulationdata hidingpolymorphisminheritanceoverridingrun-time typingI agree with the previous poster - this is a very elementary question to be posting to this forum. - MOD
duffymoa at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 3

public class Main

{

public static void main(String a[])

{

System.out.println("Hello World");

}

}

above is the java program. java is an Object Oriented Language. I want to know what Object oriented Concepts above program applying?

> Here's a possible list:

>

> abstract data types

> encapsulation

> data hiding

> polymorphism

> inheritance

> overriding

> run-time typing

>

> I agree with the previous poster - this is a very

> elementary question to be posting to this forum. -

> MOD

>

ppatidar2001a at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 4

Sounds like somebody's fishing for an exam answer here...

If you know anything about Java, go down that list of features and see where they fit into your "Hello, World".

If you think about it a little, you might learn something. It'll stay with you longer than just getting the answer off a forum. C'mon, think! - MOD

duffymoa at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 5

1) Class Main inplicitly extends Object so Inheritence?

2) String is an Abstract Data type.

3) Class System and Main are Abstract Data types? i doubt

4) Encapsulation ? i doubt beacuse no data members only methods

anything i left ? anywhere i am wrong?

> Sounds like somebody's fishing for an exam answer

> here...

>

> If you know anything about Java, go down that list of

> features and see where they fit into your "Hello,

> World".

>

> If you think about it a little, you might learn

> something. It'll stay with you longer than just

> getting the answer off a forum. C'mon, think! - MOD

ppatidar2001a at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 6
Ah, OO concepts have been around a lot longer than Java... ;-)To the original poster: read books. Many, many books. Yourquestion is akin to asking why is there air?
Sunchaser2a at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...
# 7

ppatidar2001, that's a start.

Why do you doubt yourself so much?

Instead of sending in a whining, open-ended question like the one you posed, why not give the list you posted on 3-Oct-2003 and ask if you've missed something? It would have shown that you know a little bit and that you were willing to take some initiative.

I'd say that System.out is a Stream, which is another O-O construct. But that's about it. There's not that much there.

Stop whining and start thinking. You'll get more play on this list if you do. - MOD

duffymoa at 2007-7-15 2:15:49 > top of Java-index,Other Topics,Patterns & OO Design...