java workshop

15
Tejas Koundinya GSA Alumnus & GDG Bangalore Team

Upload: tejas-koundinya

Post on 19-Jul-2015

188 views

Category:

Technology


2 download

TRANSCRIPT

Tejas KoundinyaGSA Alumnus & GDG Bangalore Team

JDK vs JRE

● JDK – Java Development Kit● JRE – Java Runtime Environment

JVM

● Java Virtual Machine● Write once, run anywhere

Data Types in Java

● Integers – byte, short, int, long● Floating Point – float, double● Characters – char● Booleans - boolean

Operators in Java

● Arithmetic : +, -, *, /, %● Increment / decrement : ++, --● Bitwise Operators : -, &, |, ^, >>, <<, etc.● Relational Operators : ==, !=, <, >, <=, >=● Logical Operators : &&, ||, ^, !, ?:

Control Statements

● Selection Statements– If

– If-else– Switch

● Iteration Statements– While– Do-while

– For

● Jump Statements– Break

– Continue

– Return

Classes

Objects

Encapsulation

● Access Modifiers– public

– private

– protected

Inheritance

● Superclass● Subclass● this keyword● super keyword● final keyword

Polymorphism

● Constructor Overloading● Method Overloading● Method Overriding

Hands On

● Command Line● Eclipse● Git

Contact

[email protected]

/+TejasKoundinya

/tejas.koundinya

@tejaskoundinya