what are the oops concept in java explain with real time
examples

Answer Posted / nagarjuna.j

Encapsulation,
Abstraction class,
Polymorphism,
inhiertence..

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define an applet in java?

627


What are the fileinputstream and fileoutputstream?

565


Write a program to check for a prime number in java?

554


What is jdbc api?

531


Explain creating threads by implementing runnable class?

579






What does the append?

486


What is a java developer salary?

536


How are variables stored?

527


What is method reference?

512


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1406


Which variables are stored in stack?

441


What is this keyword in java?

562


What are the new features in java 8? Explain

553


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

579


What is array class in java?

590