- OOPS Concepts
- What are local and global variables?
A variable declared inside a method is known as “local variable” and its usage is limited within themethod in which it declared only. A global variable (known as instance variable in Java) is declared
outside of any method but wihtin the class. Its scope is for entire class; that is any method can use it.
- What is Object?
An instance of a class is called object. - What is a class?
A class is structure which holds the code and delimites the code from other classes. A class demandsthe programmer to write the code within the braces of the class and for this reason the main() is put
within the class.
- What is Composition?
Creating object of another class in our class and calling other class methods is known as“Composition”. Composition inreases reusability and the other style of “inheritance”. C++ people call
it as “has-a” relationship.
- What is Data binding?
- What is Data hiding?
- What is Encapsulation?
- What is Method?
- What is Method Overloading?
- What is data binding?
- What is data binding?
- What is data binding?
- What is data binding?