Skip to content

karanthecreat0r/java-Concept-Understanding

Repository files navigation

java-Project-Application

Practice java concepts in simple simple understandable comments oriented prograns

Day 1&2(QSP/JSP)

What is Program?

It is Just an instruction which is used to create an application

What is Programming Language?

The Language which is used to create the program is known as programming language

Programming language available in market

Java, C,C ++, c#, Python, Node.js

What is an application

Application is a collection of programme or code which is used to perform a task

Types of Application

We are having three types of application

  • standalone
  • webservers application
  • client server application (or) Mobile application

Standalone application

  • These are the application which does not require internet
  • these application is more specific to the platform where it is installed
  • the Crud operation is limited to the platform where is is installed

Example➖ Paint, Word, calculator, powerpoint, notepad

web application

  • Any application which can be accessed only with the help of web browsers such as chrome, Mozilla, firefox, brave, browser and etc, This is known as web application
  • This type of application requires internet to use
  • the CRUD operation is universal

example:-company websites, facebook, instagram

Client server application(Mobile Application)

  • The Application which can be accessed in the mobile phones is known as mobile application
  • It requires internet to use
  • CRUD operation is universal
  • Application like camara, gallary, present in the mobile phones does not require internet to use these are these are supporting application

Note:- In client server application client is providing server directly to the mobile phones EG:- Amazon, Flipkart, youtube

Supporting Application:-

  • These are the application which is present in mobile phones & this application does not required internet to use

EG:- camara, gallary, etc

NETWORK

Private Network Public Network

  • We can define network as the connection of multiple machines or devices, to a common place or hub which is called as server where the application is installed
  • The connection maybe wired or it may be wireless
  • We are having two types of network Private & Public

Private Network➖

  • Here the multiple machines are connected in such a way that, the CRUD operation is limited, with in the area of connection
  • This type of network is called as intranet

EG:-QSP ID SWAPPING

Public network➖

  • Here the connection of multiple machines in such a way where all the CRUD opperation are limited universaly.
  • This type of network is called as internet

EG:- Facebook, Amazon

Types of languages:-

We are having three types of language they are (Binary / low leavel language / machine understandable language)

Binary Language

  • It is which the combination os 0’s and 1’s
  • using binary language it is not easy for the programmer to create an application because the leavel of the language is low to understand

Assembly Language

*Not used for complex applications

*Assembler used to translate(translator)

  • It is the language which contains some pre-defined instructins such as ADD,MOV,SUB,MUL, called as mnemonics
  • By using this pre-defined instructions it is not easy for a programmer to create complex application
  • Here the translator is used which is called as assembler. This assembler will convert assembly level language into machine understandable language

High leavel language

  • It is programmer friendly language programmer can easily understand highlevel language and we can create complex application
  • here compiler is present as translator which will convert high leavel language into machine understandable language
  • in market we are having high level language such as JAVA,PYTHON,PHP,R etc

Simple Reverse programme

public class reverseWorr {

public static void main(String[] args) {

	String str = "karan";
	String reverseString = reversedString(str);
	System.out.println(reverseString);
}
public static String reversedString(String str) {
	String reverseString="";
	for (int i = str.length() - 1; i >= 0; i--) {
		reverseString += str.charAt(i);
	}
	return reverseString;
}

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages