Skip to content

Introduction to Java

Ishant Kumar edited this page Aug 11, 2020 · 1 revision

Rapidly Learning Hard Skills is Essential for Survival in a Fast Changing Technological Landscape

Welcome to Auribises Your Instructor/Mentor/Friend : Ishant :)

Contents for the Day:

Why Programming
Introduction to Java

Model View Controller
	Model		: Storage Containers
	View 		: Textual UI to begin With
	Controller	: Operators, Conditional Flow, Iterations 

Java in CLI

Java with Eclipse IDE	

Use Cases: 1. Amazon eCommerce Grand Sale 2. Covid-19 India 3. Zomato Promo Codes

Amazon eCommerce Grand Sale SBI : 10% Discount -> Card Usage 1. HomeAndKitchen 2. MobileDevice . .. ....

SBI -> where SBI should advertise in an offline manner	
	   to sell credit cards more  

if we start maintaing data on registers its not easy for us
1. TIME 
2. ACCURACY	   

Why Programming ? | To solve the Problems :)
	To Save
		1. Time
	To be
		2. Accurate

World is all about mathematical problems	
	To solve problems we need to have a machine which takes less time than human

	Driver   -> who drives
	Computer -> who computes
				computations can be done by writing some logics in our programs

Introduction to Java !
	1. Java is Just a Programming Language
	2. Java is a Technology as Well

	1 Week
	JSE: Java Standard Edition
		 Creating Desktop Apps (runs on any playform(OS))
	
	1 Week
	JEE: Java Enterprise Edition
		 Creating Web Apps for Enterprises


	JME: Java Mobile Edition
		 To write apps for feature phones


	Java Installations:
		1. JDK : Java Development Kit
		2. JRE : Java Runtime Environment
		3. JVM : Java Virtual Machine     | Pre-Installed in the OS by the OS Manufacturer 
		3. Eclipse/IntelliJ/NetBeans: IDE | Integrated Development Environment

		> Eclipse is more professional as in its open source and free


	Orange Juice in Making
	~~~~~~~~~~~~~~~~~~~~~~

	Oranges	 	->  Source	

	Juicer 		-> Process the Source

	Liquid Juice -> Result

	Pack It

	\_/         -> Glass of Liquid juice is my End Result


	Mathematical Problem
	state1 -> 12345
	state2 -> 42345
	state3 -> 5345
	state4 -> 13451
	state5 -> 2345

	totalCases -> state1 + state2 + state3 + state4 + state5

	We write our program and solve the mathematical problem with CPP
	
	MyApp.cpp  -> Source Code

	Compiler   -> Process the Source Code

	MyApp.obj  -> Object Code

	Pack It

W MyApp.exe -> Executable Code L MyApp.sh M MyApp.dmg

	This was the probelm faced by industry


	MyApp.java -> Source Code

	Compiler

	MyApp.class -> ByteCode

	Thats It :)


	MyApp.py  -> Sourc Code

	Thats It :)

	Every language has its charactersitics:
	System Software Development : C/CPP
	App Developemt: CPP/Java
	AI: Python

	Step1:
	Install JDK which will be a bundled JDK + JRE
	https://www.oracle.com/in/java/technologies/javase-downloads.html

	Step2:
	Setup the Path of Java in your System variable (Google)
		Rt Click on Computer -> Properties -> Env Vars

	Step3:
	Install Eclipse | IDE (Integrated Development Environment)
		Its a Software like Microsoft Word
		We use it to write programs in a file and execute them effectively
		Eclipse will automatcially detect JDK+JRE and use it for our programs

Clone this wiki locally