Saturday, April 3, 2021

Basic (Experience In JAVA)

Hello Reader, now I am sharing my experience in the JAVA language, the last 2year I have to learn java and develop many java programs and java project in small scale, I know its just start for learning but now a day have able to develop large scale project and currently, I have to develop a large scale project.(sorry for I don't have to share any details about my project for the security reason). 
Share the First Experience:- 
    first, of fall I describe java 

Java is a high-level object-oriented programming language. It a programming language also it a platform and also technology, It is not a JavaScript, JavaScript is a object-based language but java is a pure object-oriented language, And now java is using for all types of application development.
Now it possible to develop many types of Application and Desktop Software/application with the use of java.
Also develop a website and web application, mobile application.
Java is a simple, secure, and high-level platform-independent language that has the capability to develop various types of applications such as system software (OS and Compiler). Application software (Desktop, web, mobile, enterprise, embedded, database and testing application, etc).

Java has only 1 drawback it does not directly interact with hardware

There are three basic steps to make a program through OOP.

  1. Identification
  2. Class define(module)
  3. Object creation
Program Language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks.
types:- Middle-level language(MLL), Low-level Language(LLL) and High-level language(HLL).


In Programming we have used different types of a language translator, we have discussed the main three types  Compiler, Interpreter, and Assembler.

Function
The function is a set of the statement which are used to perform a specific task, It provides reusable component into the program. It is also known as sub routine methods.
There are five basic components of a function.
  1. Name
  2. Task  :::::body:::::
  3. Header :::::signature:::: (how to use (return type, name, and parameter)
  4. Location :::::function class package:::::
  5. Type of function

There are two stages into life cycle of a function.

  • Function Definition: - define 
  • Function Calling: - utilize

Access Specifies :- Public   private   protected   default.
Modifier :- Static, abstract,   final and more.
Return type:- It a type of final result returns by the function. If the function does not return any value then their return type will be void by default the return type is int.
Name:- It is the valid identifier that is used to recognize.
Parameter:- Parameter is set of variable which is used to receive the required value of the called function.
Body:- It consists of a set of the statement which defines the functionality of the function.
Return statement:- It is used to terminate the execution of the function, it totally depends on the return type. If the return type of the function is void then it’s doesn’t need a return statement because is automatically terminated

At a time a function can only execute a single return statement.


No comments:

INTRODUCTION TO COMPUTER NETWORKS

A Computer network consists of two or more autonomous computers that are linked (connected) together in order to: • Share resources (files...