Trending ▼   ResFinder  

ICSE Class X Notes 2022 : English Paper 2 (English Literature) (Saint John's Academy (SJA), Allahabad) : board

4 pages, 42 questions, 0 questions with responses, 0 total responses,    0    0
Prakriti Yadav
  
+Fave Message
 Home > prakriti25 >

Formatting page ...

Ultimate Java Quick Reference - CodeWithHarry 1. // [comment] 10. Private Single line comment. Can only be changed by a method. 19. float 2. /* [comment] */ Multi line comment. 11. int Can store numbers from 2^31 to 2^31. 3. public This can be imported publically. 4. import [object].* Imports everything in object. 5. static Going to be shared by every [object]. 6. final Cannot be changed; common to be defined with all uppercase. 64-bit number with decimals. 32-bit number with decimals. 20. protected 12. fields are attributes Can only be accessed by other code in the package. 13. boolean Can have true or false as the value. 14. { } These are used to start and end a function, class, etc. 21. Scanner This lets you get user input. 22. new [object constructor] This will let you create a new object. 15. byte These can store from -127 128. 23. System.in This lets you get data from the keyboard. 16. long 7. double Integer with numbers that can have decimals. Can store numbers from 2^127 to 2^-127. 24. public [class]() This will be the constructor, you use it to create new objects. 17. char 8. ; Put after every command. 9. String Just a string of characters. Just lets you put in one chracter. 18. double 25. super() This will create the superclass (the class it's inheriting).

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2022 ResPaper. Terms of ServiceContact Us Advertise with us

 

prakriti25 chat