Explain about oops concepts.
Answer / Rajan Kumar
Object-Oriented Programming (OOP) is a programming paradigm that focuses on objects, which can have data fields and methods. The main OOP concepts are: Class - blueprint for creating objects; Object - instance of a class; Inheritance - one class derives properties from another; Encapsulation - hiding the internal details of an object; Polymorphism - one interface may be used in different ways; Abstraction - exposing only essential details and hiding complexities.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define a java class.
What is a reflection package?
Can a static method be final?
What is remote method invocation (rmi)?
Why string is a class?
What is oop in java?
How do you add an arraylist to an array in java?
Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?
whats is the use of final,in which situation final can be used in the application?
State the difference between creating string as new () and literal.
How to know the host from which Applet is originated?
How do you add an element to a hashset in java?