Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
100%
(1)
100% found this document useful (1 vote)
776 views
Java Handwritten Notes
complete java handwritten notes
Uploaded by
Hamdard mv Shayari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Java Handwritten Notes For Later
Download
Save
Save Java Handwritten Notes For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
100%
(1)
100% found this document useful (1 vote)
776 views
Java Handwritten Notes
complete java handwritten notes
Uploaded by
Hamdard mv Shayari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Java Handwritten Notes For Later
Carousel Previous
Carousel Next
Save
Save Java Handwritten Notes For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 27
Search
Fullscreen
papergrid Date:2!/01/20 Tava is a high level pnognamming lanquage Nognamming language 15 a medium to totenact with slo Higblevel language is a language tna _nonmal English ike Haman undenstandable Jonm lames Gosling was a penson who tatnoduced Java The company which Slanted java ts SueMicnos/e (syste) Cumnently Tava ig owned by onacle, i Wonking of a Java Pnognam/ How %5 java plat{onm independ nt / Wora lattormindependenl J" pte i w goto fe Miodlocos) Tayo. pnognam)|javalilenarnes “ByteCode ‘d on . Compile or le doleamediate Moc Sounce code Editons Ennon code gz, | Unt Report q | our Codetsunotes + Java vintual Merchine (Plalfonm dependent 3 lintte Once Run Any blhene pebu tecode 15 co intenmediats Which 15 acithen low - Level nos highlevel Language So t uses jvm—>( (onvent to machin @) Execute lineby lie Frivetty we butld the jova program using edith £ with the extension -javaK an @codeesenotes Datatypes anc used to indicate on specify the type a] dota Sloned foto a vaniables Datatypes ane cateqonized Tato 2 ) primitive Datatype 2Nonpnimitive Datatype Tn ondento stone non decimal numenic values we have the lollowing datatypes The diffenence belewcen those datatypes 15 Memory size pate Memory Size +4upes Bytes} Bits byte 1 g Shost ri 16 fe] u 32 loog B | éu Zn onden to Stone decimal numenic values_we haue the lotllowing datatypes Dalat | Memorysize loct 4 [382 doubie 3 [6a aly used and! delault datatype fom dectenall. Tp onden 40 Stone tnue /Jalse we have fotlowia data pata-T| Memory size | __ | Butes | Bits Boolean} 1 8 ¢ & Stagle chanceNote |] Pu the above mentioned 8 data types ane logeher called aS primitive dato types a String | Tl 1s o dataShi type to stone a Sequence of llc aneicten eS ___ullsining data has to be enclosed ewithta “double quotes” Tava ts Case Sensitive Whence fo lowene [oot equivalent 10 uppen case Letters | ee || Syntax? a Neddtaty pe. ve a | oe Loh ae - double Sclany; | ee @codees_notes ih ___ Vaniable doitialisalton . —._llLet be a VaniableName = Values _ SSS age= 20 ae 20 Age ne ssi Salary- sv00-6¢ | §000.64 i f Salary Syntax xaltialvalron ss =e = Value + Declanation © boolean xz twe; Lal Pou Se it game {C1 18¢, = |Sling Subject > “Javo"s 2 “(jsp2020' chan gender = «Mm! cass ql D||Matn encthod _ B)|| Print Statement bs @ codees_notes I@ cass Class className § public static void main (String id ergs) Pe . of Scop: £ a - : Class tT Systen-oul-pprtotln (---- 5 rtd, foe! The Jilename Should be Same aS classname duning {ile a x4} Class Firstpnogncmn _ ay Public Static void main (String r) engs)) Sie System: out-pnintin (‘Helto word" )- 4 y y @codees_ notes Oulpuls = Open cml cd_destop i cdi change cd java programs } directory favere Fixs! pnogyorm java -fompito) 40 Senter to java trsipnograre floferprarg PP Seve Wet f i ——Hetto world |1 pie ot : Addition =: Substnacion rh *_: Muttiplication adivisi, Ti eg Diviston 2) 40 fe 3 Modulus He 05 meciutig fx. to/2=5 loe/-220 Icommple : Class AnithmeticOpenators i public stalie void mato (Stxingt3 ovgs) § fol sum= X4y 5 fot diff = a-y 5 Sy Steoi- ocd pnintin ( “Sum: “toum): System -oufl-pnrotin (" Dyfemenceits 4 diff) Syoteen + out pnintin (yxs)s Systems Cubs pnintio (30/3); System: Out:pnintin (30+/.3); i a Output - a Sum 230 _ ene ei=6)w1 thi @=5>5 QazatHo oy at=lo a=i5 int x230 @codees_notes -2 20 [2d] ee Lol * X= 30-20 X=10 Closs Assignment Openciton 3 Public stalic Void moin (String I args) aS Tot X210 5 System -oul -pniotio (‘value of x i943” +1) At+=20- System: out: Seratt s lop votguse St [| susiem out: println (=Patonarne > cmc) = Assigning = Comparsion papergrid Date: / afpal Pe) Vatue of x is 10 —_* value 0, xis 30 Eas ihroias 2] a5 6 fvatuc oy @ 1s 30 1 Les8en thon on equal + t Great thanon equalto __ = _1_Equals to 1 not equal to 2 Lint x210; __int_Y=20; __boolean nesutt > 124 boolean nesult? = yous, . [system out: prt atin (nesulth + “\t" 4 nesult a’ Isystem soul: pniatin (" 4 ___[eystem out priotin (1 Zea dal |Systern-outepntntin (3>=4)+ System: out-printin ("~~ -- |Syslen Outs pnintin (42 = 10) < ygtem + Oud pniot in (yee 0) Isystem «out: print in (cee stem Dutepsiatin CK1='0); " Stn Sai eran een [a ie —it (a 42b) a 2 system oul: pnintlo (ca ‘5 less than ov equal to" }b): : System out: pniatin (“end”), i | @codees_notes [ry else to a decision making Statement blhere tn ty the condition 6 dmue we execute tf block . Ofhen wee if the Condittonis false we execute else block - | {tow chort Syntar (Start ) 'f (condition) i $ Statement 1, 7 Sd of = a (onditio: 2 et 2 / = Statement 04 f 4 elseP| meaty a Gea lc iee ee SS oT A a a
You might also like
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Mark Manson
4/5 (6125)
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
4/5 (627)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brené Brown
4/5 (1148)
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
Chris Voss
4.5/5 (932)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
4/5 (8214)
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Angela Duckworth
4/5 (631)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
4/5 (1253)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
4/5 (8365)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
4.5/5 (860)
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Carmen Maria Machado
4/5 (877)
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
Margot Lee Shetterly
4/5 (954)
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Ben Horowitz
4.5/5 (361)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
4/5 (2922)
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
Ashlee Vance
4.5/5 (484)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
4.5/5 (277)
Brooklyn: A Novel
From Everand
Brooklyn: A Novel
Colm Toibin
3.5/5 (2061)
A Man Called Ove: A Novel
From Everand
A Man Called Ove: A Novel
Fredrik Backman
4.5/5 (4972)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
4.5/5 (444)
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
Garth Stein
4/5 (4281)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
4/5 (100)
The Little Book of Hygge: Danish Secrets to Happy Living
From Everand
The Little Book of Hygge: Danish Secrets to Happy Living
Meik Wiking
3.5/5 (447)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
3.5/5 (2283)
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Roxane Gay
4/5 (1068)
Yes Please
From Everand
Yes Please
Amy Poehler
4/5 (1987)
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
Gilbert King
4.5/5 (278)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
4/5 (1993)
The Woman in Cabin 10
From Everand
The Woman in Cabin 10
Ruth Ware
3.5/5 (2619)
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
Betty Smith
4.5/5 (1936)
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
From Everand
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
Viet Thanh Nguyen
4.5/5 (125)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
3.5/5 (692)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
4.5/5 (1912)
Wolf Hall: A Novel
From Everand
Wolf Hall: A Novel
Hilary Mantel
4/5 (4074)
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Naomi Klein
4/5 (75)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
3.5/5 (830)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
3.5/5 (143)
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
3.5/5 (901)
John Adams
From Everand
John Adams
David McCullough
4.5/5 (2530)
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
M L Stedman
4.5/5 (790)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
4/5 (45)
Little Women
From Everand
Little Women
Louisa May Alcott
4/5 (105)
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel
John le Carré
3.5/5 (109)
Related titles
Click to expand Related Titles
Carousel Previous
Carousel Next
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Principles: Life and Work
From Everand
Principles: Life and Work
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Steve Jobs
From Everand
Steve Jobs
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Brooklyn: A Novel
From Everand
Brooklyn: A Novel
A Man Called Ove: A Novel
From Everand
A Man Called Ove: A Novel
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
The Little Book of Hygge: Danish Secrets to Happy Living
From Everand
The Little Book of Hygge: Danish Secrets to Happy Living
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Yes Please
From Everand
Yes Please
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
The Outsider: A Novel
From Everand
The Outsider: A Novel
The Woman in Cabin 10
From Everand
The Woman in Cabin 10
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
From Everand
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Wolf Hall: A Novel
From Everand
Wolf Hall: A Novel
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
John Adams
From Everand
John Adams
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
Little Women
From Everand
Little Women
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel