Commit Graph

147 Commits

Author SHA1 Message Date
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
Burak İkan Yıldız
11968cf6e7 Jagged Arrays extra information added (#27115) 2019-01-21 08:18:33 -07:00
jae0120
aec66fe9c5 grammatical fixes (#27324) 2019-01-17 22:03:35 -06:00
David Schmidt
95cd443efc improve guide/english/java/basic-operations (#33891)
added links, fixed indention
2019-01-17 21:49:59 -06:00
sri vatsav
0ac55093cb Update index.md (#30853)
Add the usage of Throw and Throws keywords
2019-01-12 10:20:35 -07:00
jamiesteck
b44d80dd9a Added example of an inputmismatchexception (#28773)
Added example of an inputmismatchexception for inputting an integer using the scanner.
2019-01-12 10:08:45 -07:00
saicharanc
bcbf14a25e Exception Handling (#28722)
Customized Exception Handling
2019-01-12 09:28:15 -07:00
Amila Indika
848e5d8430 Add Exception types, Exception handling (#25904)
Add how exceptions are thrown, Add different exception types, Add an image for exception hierarchy, Add exception handling methods, Add exception throwing
2019-01-12 09:12:57 -07:00
cilalice89
006d69e427 add text " Unlike the while loop," to article (#26858) 2019-01-10 21:44:21 -05:00
Maddineni Akhil
154ba84237 added datatypes precedence for good understanding (#26514)
* added datatypes precedence for good understanding

* Fixed formatting
2019-01-08 10:27:38 -05:00
Phillnavy
cf037f7f1d AddedStringsToVariables.md (#26546)
* Update index.md

* Fixed comment for String type
2019-01-07 11:15:37 -05:00
Maddineni Akhil
835e1a59f5 added case where finally is not executed (#26521) 2019-01-06 12:52:37 -05:00