0% found this document useful (0 votes)
22 views4 pages

?basics of Java ? Series - 2 Part - 1

Uploaded by

binggivaway
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

?basics of Java ? Series - 2 Part - 1

Uploaded by

binggivaway
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
BASICS OF JAVA Aruc tomar unkedial). sis NOTES CALLERY (TELCURAMY ), eThe Main Method lpPublic: Static void Main (). je Pytor text @ Data types int, chay, Float, double , void , bool. ngle line comments /* muttitine corament ena a Azithmatic_o peyators lst-( Addition), —(Subtvaction), *(multipttcation), / (division) jo Reiarlona) Operarors z = (less than or equal to) , < Cress than), > (gveater than), >= (gweater than or egal to), ==( equal to equal to). © Logical Opevatoy 11 ( logical OR), & &( logical ANID) , | (togical Nor). © For Lope >For ( statement 1; statement 2; Statement Be) e While Loop © While (condition) —__I code block, OVE GALCERY (TELEGRAM, o if - else 1 i€ ( conditon ) aC S eélce a I! code of False candition. pe jo fxrays '» It declaye arya ae ers int CL] my Num= C10, 20,30, 40}. case value 1: I} Code to be executed break case value 2: ) continue default: l Code fo be executed IF all the cases ave not matched, os jo File Methods = canRead ( ) CreatenewFile( ) Canwivite C) exists ) erniame C ) Delete ) QetAbsoiure Path (e tength C ) [ect MKdty ( ) le 2: = u age oa 3 7 a 10] je Cvegre Q Class ? il @ Class With name “main” With variable x. Public class Maln < Int X=53 re w will be create of name mMyobj". main t public IOTES GALLERY (TELEGRAM ), © T/o _Opexators - als Sugrem.out: sFand@rd output strveam. System-in: Standard input stream. 3] Syctem.evy: Standard exror stream.

You might also like