What are the OOAD concepts in java explain with examples?
Answers were Sorted based on User's Feedback
Answer / stranger_ajnabi53@yahoo.c
they are
1.polymorphism
2.abstraction
3.inheritance
4.encapsulation
| Is This Answer Correct ? | 119 Yes | 15 No |
Answer / krish
these are the ooad concepts:::::::::::
---------------------------------------
1.Modelling
2.Modelling Paradigms
3.OO Paradigm
4.OO Development Process
5.Abstraction
6.Encapsulation
7.Classes and Objects
8.Interfaces
9.Inheritance and Relationships
10.Polymorphism
11.Composition and Aggregation
12.Patterns and Elements
| Is This Answer Correct ? | 52 Yes | 14 No |
Answer / sk
there are four concepts of ooad in java they are........
1.Polymorphism:one name many forms.
ex:overloading(compile time polymorphism)
overiding(Run time polymorphism)
2.Abstraction:unclearness
ex:when ever we are invoking any method
what logic is performing we do not know but we are getting
the output
3.Inheritance:we are reuse the code by using the extends
keyword
4.Encpsulation:binding the variable and methods is known as
encapsulation
| Is This Answer Correct ? | 29 Yes | 14 No |
Answer / radhika
They are/::::
.............>
1.classes
2.objects
3.inheritance
4.polymorphism
5.abstraction
6.encapsulation
7.interfaces
| Is This Answer Correct ? | 27 Yes | 15 No |
What is the current version of java?
What is a return in java?
What do you mean by object?
Can a class extend abstract class or interface? why
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
When should I use abstract classes and when should I use interfaces?
What are the differences between processes and threads?
How many types of string data types are there?
Can an integer be null java?
How is a variable stored in memory?
Hai friends I am MCA 2006 passout. Spend time in 1 yr for teacing and 5 months in small s/w firm. worked in 4 or 5 months in few places. Presently I am writing bank exams. I want to get back to IT sector. Are there any possibilities. any growth prospects?. I am having some knowledge in core and advanced java. I am so desperate. Any suggestions thanks in advance. u can write to my mail mahidestiny@gmail.com
Is it possible to write method inside method