explain oops concepts with examples?

Answer Posted / surender dagar

oOP concepts are mainly 4 parts
such as
1.Abstraction
2.Encapsulation
3.Inheritence
4.Polymorphism

Is This Answer Correct ?    23 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what pure virtual function is?

598


What is the main purpose of serialization in java?

530


How variables are declared?

517


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

625


What is difference between module and function?

538






Can we override final method?

569


What is singleton math?

577


What is method in java with example?

489


Can a class be private?

512


Write a function to find out longest palindrome in a given string?

592


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1531


When should I use stringbuffer?

571


What is immutable state?

508


Is java free for commercial?

491


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

549