Sunday, November 4, 2018

JAVA Theory Part-7

DEFINITIONS(Part-7)




Impure Function: This function may or may not return a value but it changes the state of an object.

Function Overloading: It is the process of defining functions with the same function names but with the different number and types of parameters.

Static Binding (or) Early Binding: The System finds the best match of function arguments and parameter list during program compilation. This phenomenon is known as Static Binding or Early binding.

Recursive Function: A function designed in such a way that it calls itself in its body is known as Recursive Function.

Parameters: Parameters are the list of variables which are defined in the function definition or function call.

Arguments: Arguments are the values passed to the actual parameters bypass by value or pass by reference due to its invoking.

Boolean Search:  It is a type of searching in which Boolean variable is used to check if the given value is present in the array elements or not. Example Prg: Boolean search.

Nested Class: A nested class mean a class within a class.

External Wrapper: External Wrapper is the class declaration enclosing inner part within a pair of curly brackets.

Visibility Modes: Visibility modes are the Access Specifiers. They deal with the scope of usage of the function. They are public, private, protected.

Scope of Variable: It determines the visibility of an instance variable throughout the class. It shows the usage of the variable in the program.

Referencing member methods: The process of referring the member methods from the main class through class objects.

Nested member method: A method within a method is known as a nested member method.

Invoking a constructor: The process of using a constructor in the program is known as Invoking a Constructor.

Default Constructor: A constructor which initializes instant variables of an object with definite values readily defined is known as Default Constructor.

Parameterized Constructor: It is a member function with the same name as the class name which is used to initialize the object variable by passing parametric values at the time of its execution.

Copy Constructor:  This Constructor is used to copy the initial values of the instant variables of an object to the instant variables of another object.

Constructor Overloading: It is the process of defining constructors with the same function names but with the different type of parameters.

Base Class (or) Super Class:  A class from which another class inherits.

Derived Class (or) Sub Class: A class inheriting properties from another class.

Single Inheritance: If a Base class is derived by a single target, then it is known as Single Inheritance.

Multiple Inheritance: When a subclass inherits from multiple Base classes is known as multiple Inheritance.


Hierarchical Inheritance: When many Targets inherit from a single base class, it is known as Hierarchical Inheritance.

No comments:

Post a Comment

Sample Paper - Class 10th