Commit Graph

158 Commits

Author SHA1 Message Date
SimonFuet
98f52a448e Add ternary operator to control flow statements (#29269)
* Add ternary operator to control flow statements

* Remove external links, formatted code and removed useless codeblock
2019-04-17 17:31:20 +05:30
Elenaires
4f130313d8 fixed rocket images (#30737)
fixed rocket images by updating the urls
2019-04-15 15:47:26 +05:30
Randy Janecek
bc84a7eb67 fixed typos (#32588) 2019-04-14 10:07:40 +05:30
Straighter
ed601af6d8 Fixed typo (#29790) 2019-04-12 22:34:22 +05:30
BoopMehNose
0cb6c25d84 Updated String Category (grammatical updates and specifications).md (#33779)
* Update index.md

Updated descriptions for the String category, specified that strings are objects. Corrected grammatical error.

* Update index.md
2019-03-31 23:43:25 +05:30
Daniel Damilare
2353a3c02a Update index.md (#29031) 2019-03-29 18:10:05 -04:00
SakshamGupta1995
78949d9f61 Add Case conversion functions to the article (#26922)
* Add Case conversion functions to the article

These functions tell the programmers about converting their string data type value either into upper case letters or lower case letters.

* Fix formatting and phrasing
2019-03-29 05:22:17 -04:00
seanjs
c606946c5c Realign a different indentation (#28409)
for the line of "Collections.sort(variable_nale);"
2019-03-28 19:44:43 -04:00
Nikola Stevanović
043676aa90 Added one more rule for POJO (#33895)
Added one more rule that has to be obeyed when creating POJO.
2019-03-24 10:26:06 -07:00
saicharanc
b4e30483cc POJO (#28712)
More info about POJO classes
2019-03-24 09:42:06 -07:00
Rajiv Ranjan Singh
2494f0f2e5 Fixed Typographical Error in guide/english/java/index.md (#35649)
* Update index.md

* fixed some typo error
2019-03-23 16:01:35 -04:00
BoopMehNose
c7f8f8f75a Exemplification changes (#33903)
* Exemplification

Provided more comments on the coding portions to show what each line does in respect to the program. Also specified what happens when "==" is used when the "equals()" method should be employed.

* Formatting
2019-03-23 16:06:56 +05:30
sri vatsav
b7c93579bf Updated with Object equality. (#30911)
* updated with Object equality.

Usage of .equals() and .hashCode() methods of Java Object.

* Fix spacing

* Added code formatting
2019-03-22 19:27:04 -04:00
Mihir Rathwa
af9a3468aa Fixed Rocket icon for "Run Code" (#26600) 2019-03-22 15:54:25 +05:30
Mihir Rathwa
5bf9807fce Fixed Rocket icon for "Run Code" (#26595) 2019-03-21 01:30:51 +05:30
heavyslobs
938ed336e0 Making the description gender neutral (#28152) 2019-03-16 00:28:27 +05:30
Aaditree
1282227c24 Infinite loop, fixed iteration (#29697) 2019-03-15 23:51:30 +05:30
FireHawk01
ddabb9ef0f Fixed grammatical errors (#32497) 2019-03-15 13:43:39 +05:30
Ekin Eryilmaz
194c1bdcb2 Highlighted some words. (#27975) 2019-03-15 13:31:48 +05:30
jamiesteck
46b10c2f65 added method overloading (#28813)
* added method overloading

added a section describing method overloading

* Update index.md
2019-03-15 13:11:52 +05:30
howieandersen
da84162282 added basic information about default constructors in the index file for methods (#29797) 2019-03-15 12:33:22 +05:30
Mihir Rathwa
e47ae0f660 Fixed Rocket icon for "Run Code". (#26583) 2019-03-15 12:28:14 +05:30
jamiesteck
4f0f87c124 Added example of using == instead of = (#28790)
* Added example of using == instead of =

Added example of using == instead of = when comparing primitive types.

* Update index.md
2019-03-15 12:23:09 +05:30
SakshamGupta1995
ef8c5e5bfa Add equalsIgnoreCase to the file (#27662)
The function equalsIgnoreCase() is also used for comparing the equality of 2 strings.
2019-03-15 12:19:06 +05:30
Marko
ccfb6444f1 Added Constructor Chaining (#28232)
Added Constructor Chaining
2019-03-15 12:14:16 +05:30
SpeedX
a57baf07fd Fixed Logical error (#31639)
Fixed Logical Error in the Second program
2019-03-15 11:55:33 +05:30
dannyphan2910
3a05e44af7 Added some information about variable in 'for' loop (#31440) 2019-03-15 11:54:24 +05:30
TrangNgu65
6ca11755a2 Grammatical errors (#28793)
Fixed spelling errors.
2019-03-07 13:10:17 -08:00
Manish Giri
9a8e961c59 fix(guide): Fix java index.md heading level (#35326) 2019-03-03 19:50:16 -08:00
Alex
82e42bc21c Added in on good v. bad comments (#29942)
Added paragraph about best commenting practices in the introduction and relevant FreeCodeCamp link in the More Information section.
2019-02-23 16:06:57 -05:00
Shamp
06fe81b587 good practice for java doc (#29252)
good practice for java doc
2019-02-23 15:17:24 -05:00
KartikSoneji
9389c7342c Added the diamond operator (<>) (#31291)
* Added the diamond operator (<>)

* Update guide/english/java/generics/index.md

Co-Authored-By: KartikSoneji <kartiksoneji@rocketmail.com>

* Changed <> to &lt; and &gt;

* Changed &lt; and &gt; to be escaped by `. Fixed Code Style to be Consistent.

* Formatting changes
2019-02-21 21:03:52 -05:00
dsb4343
5cb5c11df9 Added tutorial video for Java. (#33338) 2019-02-21 03:29:22 -05:00
Rodrigo Araujo
f366b32d92 Changed wording (#33085) 2019-02-21 03:10:57 -05:00
S R
21b767539c Additions to Hello World guidance. (#27929)
Mention about .class files and not using .class extension while running.
2019-02-21 02:41:27 -05:00
SpeedX
5f228f9b44 Added rules (#32459)
* Added rules

Rules For naming variables added and checked the document

* fixed: made resources header smaller one size
2019-02-14 14:21:09 -08:00
Aaditree
fadfbca63c Types of variables (#29670)
Types of variables specified in a class.
2019-02-14 13:20:07 -08:00
deathwarden150
6dd5960f40 update index.md (#31278)
Made comment better
2019-02-14 12:56:58 -08:00
yapancha
ea5480a2c4 Uses of infinite loop (#27283)
Some of the uses of an infinite loop just to suggest that the use of an infinite loop is not always an error
2019-01-26 23:36:30 -05:00
anandxkumar
eaf1c56e16 Added details about getter and setter (#32070)
Added brief introduction of getter and setter with examples.
2019-01-26 17:34:57 -08:00
KartikSoneji
72a23586c6 Added disadvantage of setters and getters (#31311) 2019-01-26 17:20:21 -08:00
royalblue13
bc50e4e6da Added text "Text Components" (#26624)
* Added text "Text Components"

Included "text components" section and relevant summary and example of text components in Swing.

* Reformatted change to be part of existing heading
2019-01-25 23:07:06 -05:00
Maddineni Akhil
062631ef10 added interfaces and classes in collections (#26548)
* added interfaces and classes in collections

* updated formatting as requested
2019-01-23 23:43:06 -05:00
BoopMehNose
1a74d0f114 Changes to creating arrays and array section (#33800)
Clarification and exemplification in the #Array section and expands the example in the ##Creating Arrays section.
2019-01-23 12:17:32 -07:00
Robert Balent
765460b62f Java-Arrays: Nested loop will execute M * N times (#32293) 2019-01-22 17:54:40 -07:00
Jason
8803057bdd Grammar fix (#32099) 2019-01-22 17:45:24 -07:00
Joe-Wilson
98cffcc7ac Update index.md (#30718)
Added info about array values.
2019-01-22 12:05:33 -07:00
retaric
783338410b Corrected a typo and improved readability (#29300)
1. Corrected typo from "sequencial" to "sequential"
2. Corrected the grammar for the sentence "primitive and reference both form of datatypes are allowed" for better readability
3. Added on to the following sentence to make it less redundant; otherwise it would have been just a repeat of the sentence before it.
4. Changed "indexes" to "elements" because an index is just a list of numbers, so saying that "an array can be instantiated to a set number of indexes" would be confusing.
2019-01-21 12:43:41 -07:00
Rohan Bansal
ec50e64023 CopyOf method as a way to increase array size (#28962)
Added a way to increase the size of an already instantiated array via the "copy" method.
2019-01-21 12:32:45 -07:00
jamiesteck
656202755a Update index.md and provide additional examples (#28758)
I added several additional examples of how to create and access an array.
2019-01-21 08:28:13 -07:00