Monday, October 29, 2018

JAVA Theory Part 2

DEFINITIONS(Part-2)


Compiler: A software which converts high-level language to machine level language. It compiles the instructions at once and lists all the errors.

Interpreter: A software which converts High-level language to machine level language line by line. It does not move to the next line until the error is corrected.

Source Code: A set of instructions written in a high-level language which is taken as an input from the user.

Machine code: The source code which is Compiled/Interpreted is known as Machine code.

Byte Code: Bytecode is the simplest Form of Source code. The source code is compiled to an intermediate code called Bytecode. It can easily pass from one computer to another.

Object Code: The conversion of the high-level language to a machine code with help of a translator known as Object code.

Java Virtual Machine (JVM): It is a virtual processor which processes bytecode to machine code for various platforms. So, Java Interpreter is known as JVM.

Compilation: The type of language conversion is termed as Compilation.

Interpretation: The process of conversion of the language is called Interpretation.

Case Sensitive: It is a Feature of Java Programming. It differentiates between lower case and upper case Letters.

Keywords: Keywords are pre-reserved words which cannot be used as any other alternative. They are reserved words of java which carry out a value/function/task.

Java libraries: A java Library is a set of packages .Each package is made for a purpose. Ex: java.lang, java.io, java.util, etc.

Comment: Comments are used to tell the user about the purpose and action of different steps in the program. Comments increase the readability of the program. Comments are executed during the program.

Program: A program is a set of instructions, data, functions which perform a specific task.

Programming:  The Process of Executing a program is known as programming.

Function: A program module which is simultaneously used in the program at different instances to perform a task.t is also known as Method.

Syntax: It is the Structural format of various keywords of java programming. The program segments are valid only if they are in a format according to the Syntax given.

Step Value: It determines the update of the control variable of a looping structure until the test condition is false.

Body of Loop: It contains a set of statements which are executed along with the loop simultaneously.

Null Loop: A loop which does not contain any statement in the body of the loop is known as Null Loop or Bodyless Loop.

Endless Loop: A loop structure not having any end, it skips the step value of the loop structure and the test condition will be true always. So the Loop will run infinite times. This loop is called Endless loop or Infinite Loop.

Nested Loop: A loop within a loop is known as a nested loop.

Delay Loop: A loop can be used to delay for some loading during the execution. The boy of the loop does not contain any meaningful operation but it is used to Delay the Operation.

Saturday, October 27, 2018

Java Theory Part1


Object: An object is a unique entity of Object Oriented Programming Language, which possesses some state and attributes.

Class: A class is a set of objects. Each object possesses similar state and behavior defined within the same class.

Data Abstraction: Data Abstraction is the act of representing essential features without including the background details.

Encapsulation: The Binding/Wrapping up of data and its functions into a single unit are known as Encapsulation.

Data Hiding: The insulation given to the data, due to which it cannot be accessed directly outside the class premises.

Inheritance: Inheritance is the process of linking and sharing the common properties of objects from two different classes.

Polymorphism: It is the process of using a function more than one purpose, with the same external structure and with the change in the internal structure.

Dynamic Binding: Dynamic binding is the process of linking function call with function Signature during the execution of the program.

OOP: Object Oriented Programming. It is a modular approach, which allows data to be applied stipulated program area. It increases the programmer’s productivity. It gives more Emphasis on the data.

Instance: An Object is said to be an Instance of a class. Each Object shows the same properties described in the class.

Instantiation:  Using the keyword new and creating a space for allocating the object in the dynamic memory is known as Instantiation.

Initialization: It is the process of calling the constructor to initialize the attributes of an object.

Declaration: Using Class as a data type to create a new object of that class.

API: A set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other services.

IDE: An integrated development environment (IDE) or interactive development environment is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.

Attribute: It is the state on which Objects differ. It deals with the contents of an object to make each object distinct. (Belongings of a class)

User Defined Data Type: Class is considered as a User-defined data type. A user can use a class to create a new data type with some certain characteristics and behavior. So a class is called a user-defined data type.

Reusability: The process of adding some essential features to a class without modifying its contents. It can be done by inheritance.

Applet: An Applet is written a program in java language that can be included in an HTML page.


For More Definition coming soon.....

If Any Query Regarding JAVA Basic problem, you can ask through comment

Sample Paper - Class 10th