SlideShare a Scribd company logo
Enabling Your Growth Through
www.GlowTouch.com Application Development & Support Services
Java Cheat Sheet
Java Basic Definitions
Class Particular kind of object
Method Defined inside class
Object Variables and methods
Java Comments
<!-- comment --> Sent to the client
<%-- comment --%> Comment in JSP file
// comment Comment in scriplet JSP
Java Elements
<%! Declaration %>
Creates a global variable or
method
<%= expression %> Evaluated on server before
outputted to page
<%@ directive %>
Attributes that apply to
entire page
<% code fragment %> Contains a block of code
<%@ taglib
uri=”URIToTagLibrary”
prefix=”tagPrefix”%>
Defines a tag library and
prefix
Java Separators
() Surrounds Parameters
{} Defines a block of code
[] Declares arrays
; End of statement
, Separates variables
.
Separates package names
from subpackages/classes
Java Primitive Data Types
Type Description Bits
byte Byte-Length integer 8
short Short Integer 16
int Integer 32
long Long Integer 64
float Single-precision floating point 32
double Double-precision floating point 64
char A single character 16
boolean A boolean value (true or false) 1
Java Operators
+
Addition of numbers, concatenation of
String
+= Add and assign numbers
- Subtraction
-= Subtract and assign
* Multiplication
*= Multiply and assign
/ Division
/= Divide and assign
% Take remainder
%= Take remainder and assign
++ Increment by one
-- Decrement by one
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
! Boolean NOT
!= Not equal to
&& Boolean AND
|| Boolean OR
== Boolean Equals
= Assignment
Enabling Your Growth Through
www.GlowTouch.com Application Development & Support Services
Java Cheat Sheet
Java Keywords
abstract int
assert interface
boolean long
break native
byte new
case null
catch package
char private
class protected
const public
continue return
default short
do static
double strictfp
else super
enum switch
extends synchronized
false this
final throw
finally throws
float transient
for true
goto try
if void
implements violate
import while
instanceof

More Related Content

What's hot

Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
vinay arora
 
Spring boot
Spring bootSpring boot
Spring boot
Pradeep Shanmugam
 
Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
Mehul Jariwala
 
Introduction to method overloading &amp; method overriding in java hdm
Introduction to method overloading &amp; method overriding  in java  hdmIntroduction to method overloading &amp; method overriding  in java  hdm
Introduction to method overloading &amp; method overriding in java hdm
Harshal Misalkar
 
Java constructors
Java constructorsJava constructors
Java constructors
QUONTRASOLUTIONS
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
nomykk
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
Spring framework Introduction
Spring framework IntroductionSpring framework Introduction
Spring framework Introduction
Anuj Singh Rajput
 
Java JVM Memory Cheat Sheet
Java JVM Memory Cheat SheetJava JVM Memory Cheat Sheet
Java JVM Memory Cheat Sheet
Mark Papis
 
PUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBootPUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBoot
Josué Neis
 
Java static keyword
Java static keywordJava static keyword
Java static keyword
Lovely Professional University
 
Java - Sockets
Java - SocketsJava - Sockets
Java - Sockets
Riccardo Cardin
 
Spring Boot
Spring BootSpring Boot
Spring Boot
Jaran Flaath
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
arvind pandey
 
Spring Boot
Spring BootSpring Boot
Spring Boot
HongSeong Jeon
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Spring boot
Spring bootSpring boot
Spring boot
sdeeg
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: Inheritance
Tareq Hasan
 
Java package
Java packageJava package
Java package
CS_GDRCST
 

What's hot (20)

Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
 
Spring boot
Spring bootSpring boot
Spring boot
 
Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
 
Introduction to method overloading &amp; method overriding in java hdm
Introduction to method overloading &amp; method overriding  in java  hdmIntroduction to method overloading &amp; method overriding  in java  hdm
Introduction to method overloading &amp; method overriding in java hdm
 
Java constructors
Java constructorsJava constructors
Java constructors
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
 
Spring framework Introduction
Spring framework IntroductionSpring framework Introduction
Spring framework Introduction
 
Java JVM Memory Cheat Sheet
Java JVM Memory Cheat SheetJava JVM Memory Cheat Sheet
Java JVM Memory Cheat Sheet
 
PUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBootPUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBoot
 
Java static keyword
Java static keywordJava static keyword
Java static keyword
 
Java - Sockets
Java - SocketsJava - Sockets
Java - Sockets
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
 
History of java'
History of java'History of java'
History of java'
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Spring boot
Spring bootSpring boot
Spring boot
 
Java: Inheritance
Java: InheritanceJava: Inheritance
Java: Inheritance
 
Java package
Java packageJava package
Java package
 

Viewers also liked

Java Cheat Sheet
Java Cheat SheetJava Cheat Sheet
Java Cheat Sheet
Saeid Zebardast
 
Cheat sheet - String Java (Referência rápida)
Cheat sheet - String Java (Referência rápida)Cheat sheet - String Java (Referência rápida)
Cheat sheet - String Java (Referência rápida)
Rafael Liberato
 
Bash Cheat Sheet -- Bash History Cheat Sheet
Bash Cheat Sheet -- Bash History Cheat SheetBash Cheat Sheet -- Bash History Cheat Sheet
Bash Cheat Sheet -- Bash History Cheat Sheet
Peter Krumins
 
Developing Applications with MySQL and Java for beginners
Developing Applications with MySQL and Java for beginnersDeveloping Applications with MySQL and Java for beginners
Developing Applications with MySQL and Java for beginners
Saeid Zebardast
 
MySQL Cheat Sheet
MySQL Cheat SheetMySQL Cheat Sheet
MySQL Cheat Sheet
Saeid Zebardast
 
Web Components Revolution
Web Components RevolutionWeb Components Revolution
Web Components Revolution
Saeid Zebardast
 
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
Noopur Gupta
 
Java for beginners
Java for beginnersJava for beginners
Java for beginners
Saeid Zebardast
 
Java 9: The (G1) GC Awakens!
Java 9: The (G1) GC Awakens!Java 9: The (G1) GC Awakens!
Java 9: The (G1) GC Awakens!
Monica Beckwith
 
24 Books You've Never Heard Of - But Will Change Your Life
24 Books You've Never Heard Of - But Will Change Your Life24 Books You've Never Heard Of - But Will Change Your Life
24 Books You've Never Heard Of - But Will Change Your Life
Ryan Holiday
 
Java SE 8 best practices
Java SE 8 best practicesJava SE 8 best practices
Java SE 8 best practices
Stephen Colebourne
 
20 Quotes To Turn Your Obstacles Into Opportunities
20 Quotes To Turn Your Obstacles Into Opportunities20 Quotes To Turn Your Obstacles Into Opportunities
20 Quotes To Turn Your Obstacles Into Opportunities
Ryan Holiday
 
Work Rules!
Work Rules!Work Rules!
Work Rules!
Laszlo Bock
 

Viewers also liked (15)

Cheat Sheet java
Cheat Sheet javaCheat Sheet java
Cheat Sheet java
 
Java Cheat Sheet
Java Cheat SheetJava Cheat Sheet
Java Cheat Sheet
 
Cheat sheet - String Java (Referência rápida)
Cheat sheet - String Java (Referência rápida)Cheat sheet - String Java (Referência rápida)
Cheat sheet - String Java (Referência rápida)
 
Java cheat sheet
Java cheat sheetJava cheat sheet
Java cheat sheet
 
Bash Cheat Sheet -- Bash History Cheat Sheet
Bash Cheat Sheet -- Bash History Cheat SheetBash Cheat Sheet -- Bash History Cheat Sheet
Bash Cheat Sheet -- Bash History Cheat Sheet
 
Developing Applications with MySQL and Java for beginners
Developing Applications with MySQL and Java for beginnersDeveloping Applications with MySQL and Java for beginners
Developing Applications with MySQL and Java for beginners
 
MySQL Cheat Sheet
MySQL Cheat SheetMySQL Cheat Sheet
MySQL Cheat Sheet
 
Web Components Revolution
Web Components RevolutionWeb Components Revolution
Web Components Revolution
 
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
Mastering your Eclipse IDE - Tips, Tricks, Java 8 tooling & More!
 
Java for beginners
Java for beginnersJava for beginners
Java for beginners
 
Java 9: The (G1) GC Awakens!
Java 9: The (G1) GC Awakens!Java 9: The (G1) GC Awakens!
Java 9: The (G1) GC Awakens!
 
24 Books You've Never Heard Of - But Will Change Your Life
24 Books You've Never Heard Of - But Will Change Your Life24 Books You've Never Heard Of - But Will Change Your Life
24 Books You've Never Heard Of - But Will Change Your Life
 
Java SE 8 best practices
Java SE 8 best practicesJava SE 8 best practices
Java SE 8 best practices
 
20 Quotes To Turn Your Obstacles Into Opportunities
20 Quotes To Turn Your Obstacles Into Opportunities20 Quotes To Turn Your Obstacles Into Opportunities
20 Quotes To Turn Your Obstacles Into Opportunities
 
Work Rules!
Work Rules!Work Rules!
Work Rules!
 

Similar to Java Cheat Sheet

Introduction to JSP
Introduction to JSPIntroduction to JSP
Introduction to JSPGeethu Mohan
 
SCWCD : Java server pages CHAP : 9
SCWCD : Java server pages  CHAP : 9SCWCD : Java server pages  CHAP : 9
SCWCD : Java server pages CHAP : 9
Ben Abdallah Helmi
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
Shah Nawaz Bhurt
 
Java ppt
Java pptJava ppt
Java ppt
VivekPandit33
 
Jsp element
Jsp elementJsp element
Jsp element
kamal kotecha
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
Rami Nayan
 
JSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODSJSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODS
bharathiv53
 
Directives in asp.net
Directives in asp.netDirectives in asp.net
Directives in asp.net
Sireesh K
 
Ajax toolkit-framework
Ajax toolkit-frameworkAjax toolkit-framework
Ajax toolkit-framework
WBUTTUTORIALS
 
JSP
JSPJSP
Implementing java server pages standard tag library v2
Implementing java server pages standard tag library v2Implementing java server pages standard tag library v2
Implementing java server pages standard tag library v2
Soujanya V
 
Jsp , javasportal, jsp basic,
Jsp , javasportal, jsp basic, Jsp , javasportal, jsp basic,
Jsp , javasportal, jsp basic, rupendra1817
 
Jsp & struts
Jsp & strutsJsp & struts
Jsp & struts
Hansi Thenuwara
 
Chap4 4 2
Chap4 4 2Chap4 4 2
Chap4 4 2
Hemo Chella
 
Jsp
JspJsp
Introduction to JSP.pptx
Introduction to JSP.pptxIntroduction to JSP.pptx
Introduction to JSP.pptx
ManishaPatil932723
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
Sasidhar Kothuru
 
Java Training in Chennai - Payilagam Syllabus
Java Training in Chennai - Payilagam SyllabusJava Training in Chennai - Payilagam Syllabus
Java Training in Chennai - Payilagam Syllabus
Payilagam Software Training institute
 

Similar to Java Cheat Sheet (20)

Introduction to JSP
Introduction to JSPIntroduction to JSP
Introduction to JSP
 
SCWCD : Java server pages CHAP : 9
SCWCD : Java server pages  CHAP : 9SCWCD : Java server pages  CHAP : 9
SCWCD : Java server pages CHAP : 9
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
Java ppt
Java pptJava ppt
Java ppt
 
Jsp element
Jsp elementJsp element
Jsp element
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
JSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODSJSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODS
 
Directives in asp.net
Directives in asp.netDirectives in asp.net
Directives in asp.net
 
Ajax toolkit-framework
Ajax toolkit-frameworkAjax toolkit-framework
Ajax toolkit-framework
 
JEE5 New Features
JEE5 New FeaturesJEE5 New Features
JEE5 New Features
 
JSP
JSPJSP
JSP
 
Implementing java server pages standard tag library v2
Implementing java server pages standard tag library v2Implementing java server pages standard tag library v2
Implementing java server pages standard tag library v2
 
Jsp , javasportal, jsp basic,
Jsp , javasportal, jsp basic, Jsp , javasportal, jsp basic,
Jsp , javasportal, jsp basic,
 
Jsp & struts
Jsp & strutsJsp & struts
Jsp & struts
 
Chap4 4 2
Chap4 4 2Chap4 4 2
Chap4 4 2
 
SCDJWS 5. JAX-WS
SCDJWS 5. JAX-WSSCDJWS 5. JAX-WS
SCDJWS 5. JAX-WS
 
Jsp
JspJsp
Jsp
 
Introduction to JSP.pptx
Introduction to JSP.pptxIntroduction to JSP.pptx
Introduction to JSP.pptx
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
 
Java Training in Chennai - Payilagam Syllabus
Java Training in Chennai - Payilagam SyllabusJava Training in Chennai - Payilagam Syllabus
Java Training in Chennai - Payilagam Syllabus
 

More from GlowTouch

15 Customer Experience Facts and Stats
15 Customer Experience Facts and Stats15 Customer Experience Facts and Stats
15 Customer Experience Facts and Stats
GlowTouch
 
50,000 More School Children Will Have Food to Eat
50,000 More School Children Will Have Food to Eat50,000 More School Children Will Have Food to Eat
50,000 More School Children Will Have Food to Eat
GlowTouch
 
Josh Annual Day Celebration
Josh Annual Day CelebrationJosh Annual Day Celebration
Josh Annual Day Celebration
GlowTouch
 
Cloud Application Marketplace Overview
Cloud Application Marketplace OverviewCloud Application Marketplace Overview
Cloud Application Marketplace Overview
GlowTouch
 
Swift Reference Guide
Swift Reference GuideSwift Reference Guide
Swift Reference Guide
GlowTouch
 
C# Reference Guide
C# Reference GuideC# Reference Guide
C# Reference Guide
GlowTouch
 
Java Reference Guide
Java Reference GuideJava Reference Guide
Java Reference Guide
GlowTouch
 
PHP Reference Guide
PHP Reference GuidePHP Reference Guide
PHP Reference Guide
GlowTouch
 
Python Cheat Sheet
Python Cheat SheetPython Cheat Sheet
Python Cheat Sheet
GlowTouch
 
PHP Cheat Sheet
PHP Cheat SheetPHP Cheat Sheet
PHP Cheat Sheet
GlowTouch
 
C# Cheat Sheet
C# Cheat SheetC# Cheat Sheet
C# Cheat Sheet
GlowTouch
 
GlowTouch Company Overview
GlowTouch Company OverviewGlowTouch Company Overview
GlowTouch Company Overview
GlowTouch
 
Overview of Coding Languages
Overview of Coding LanguagesOverview of Coding Languages
Overview of Coding Languages
GlowTouch
 

More from GlowTouch (13)

15 Customer Experience Facts and Stats
15 Customer Experience Facts and Stats15 Customer Experience Facts and Stats
15 Customer Experience Facts and Stats
 
50,000 More School Children Will Have Food to Eat
50,000 More School Children Will Have Food to Eat50,000 More School Children Will Have Food to Eat
50,000 More School Children Will Have Food to Eat
 
Josh Annual Day Celebration
Josh Annual Day CelebrationJosh Annual Day Celebration
Josh Annual Day Celebration
 
Cloud Application Marketplace Overview
Cloud Application Marketplace OverviewCloud Application Marketplace Overview
Cloud Application Marketplace Overview
 
Swift Reference Guide
Swift Reference GuideSwift Reference Guide
Swift Reference Guide
 
C# Reference Guide
C# Reference GuideC# Reference Guide
C# Reference Guide
 
Java Reference Guide
Java Reference GuideJava Reference Guide
Java Reference Guide
 
PHP Reference Guide
PHP Reference GuidePHP Reference Guide
PHP Reference Guide
 
Python Cheat Sheet
Python Cheat SheetPython Cheat Sheet
Python Cheat Sheet
 
PHP Cheat Sheet
PHP Cheat SheetPHP Cheat Sheet
PHP Cheat Sheet
 
C# Cheat Sheet
C# Cheat SheetC# Cheat Sheet
C# Cheat Sheet
 
GlowTouch Company Overview
GlowTouch Company OverviewGlowTouch Company Overview
GlowTouch Company Overview
 
Overview of Coding Languages
Overview of Coding LanguagesOverview of Coding Languages
Overview of Coding Languages
 

Recently uploaded

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

Java Cheat Sheet

  • 1. Enabling Your Growth Through www.GlowTouch.com Application Development & Support Services Java Cheat Sheet Java Basic Definitions Class Particular kind of object Method Defined inside class Object Variables and methods Java Comments <!-- comment --> Sent to the client <%-- comment --%> Comment in JSP file // comment Comment in scriplet JSP Java Elements <%! Declaration %> Creates a global variable or method <%= expression %> Evaluated on server before outputted to page <%@ directive %> Attributes that apply to entire page <% code fragment %> Contains a block of code <%@ taglib uri=”URIToTagLibrary” prefix=”tagPrefix”%> Defines a tag library and prefix Java Separators () Surrounds Parameters {} Defines a block of code [] Declares arrays ; End of statement , Separates variables . Separates package names from subpackages/classes Java Primitive Data Types Type Description Bits byte Byte-Length integer 8 short Short Integer 16 int Integer 32 long Long Integer 64 float Single-precision floating point 32 double Double-precision floating point 64 char A single character 16 boolean A boolean value (true or false) 1 Java Operators + Addition of numbers, concatenation of String += Add and assign numbers - Subtraction -= Subtract and assign * Multiplication *= Multiply and assign / Division /= Divide and assign % Take remainder %= Take remainder and assign ++ Increment by one -- Decrement by one > Greater than >= Greater than or equal to < Less than <= Less than or equal to ! Boolean NOT != Not equal to && Boolean AND || Boolean OR == Boolean Equals = Assignment
  • 2. Enabling Your Growth Through www.GlowTouch.com Application Development & Support Services Java Cheat Sheet Java Keywords abstract int assert interface boolean long break native byte new case null catch package char private class protected const public continue return default short do static double strictfp else super enum switch extends synchronized false this final throw finally throws float transient for true goto try if void implements violate import while instanceof