Commit Graph

165 Commits (8f25305ab2797a61bc6696ee644c303853896dc5)

Author SHA1 Message Date
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
laurGeo e24179d8e0 Update index.md (#26407)
Grammar changes
2018-12-27 21:57:50 -05:00
Raymart Evangelista f9f816514c Update index.md (#26358)
* Update index.md

Added statements to visualize interfaces differently.

* Formatting changes
2018-12-26 18:26:34 -05:00
kendinh216 3c92ab52d6 Added checked and unchecked exception (#26345)
* Added checked and unchecked exception

* Made statements more readable
2018-12-26 17:49:47 -05:00
Edulop139 529336395e small grammer fix (#26202)
small fix from lets to let's
2018-12-21 07:16:40 -05:00
Pratima Gautam 08ed6979dc Added IDEs for Java Coding. (#25898)
I added jGRASP, jSource and DrJava in the given list of free IDEs for Java coding.
2018-12-20 21:43:12 -05:00
Jason 38d1618016 Combined two sentences (#25706) 2018-12-20 21:09:11 -05:00
mian3se 067d832ea6 Update index.md (#25592)
* Update index.md

* Update index.md
2018-12-20 20:43:07 -05:00
Davor Beganović d5bf5a5bf3 How to create your own generic method (#25467)
The syntax how to create your own Generic method.
2018-12-20 07:34:53 -05:00
Brian 467c0d9a8c Added Link (#25203)
* Added Link 

For users to download Netbeans IDE alongside JDK

* Moved change to more info
2018-12-15 22:38:50 -05:00
mridul981 69c325fa04 Added add method in arraylist in java and fixed sort method (#24980) 2018-12-14 23:06:23 -05:00
Viplav K 1c32e2b6be Modifying index.md (#24861)
Update wording on changing values for final variable
2018-12-13 23:26:48 -05:00
Alyssa Dang b0fe051522 Definition (#24775) 2018-12-13 22:39:28 -05:00
fgkolf a753c9edef added a brief java bean explanation (#24670)
* added a brief java bean explanation

* Improved formatting
2018-12-13 06:05:15 -05:00
hdquemada 03660224f8 Changed formatting and one grammar error (#24502) 2018-12-10 19:12:22 -05:00
ashwinkumarmohan 8a7920881e Added "HTML" output for JavaDoc (#24375)
Added that HTML pages are generated when using JAVADOC in documentation comment.
2018-12-09 22:07:44 -05:00
Bodddi 86881ae86f A little grammar fix (#24677)
* A little grammar fix

* fix: whitespace
2018-12-07 23:59:52 +05:30
SweeneyNew d0758ab398 Code Description (#24164)
"import java.util.ArrayList;" is a java code. It should be declared in "code theme". People may miss the "import package" code part since it is not discriminated from the other parts as a code part. If they miss the whole code will complain just because of this simple mistake. This way people wouldn't miss the code to import the package.
2018-12-07 03:58:11 -05:00
ShashwathJS 2a2598074e Handling unknown exceptions (#23587)
* Handling unknown exceptions

What to do when you do not know what kind of exceptions may be thrown by your application.

* Added code formatting
2018-12-07 03:44:49 -05:00
Nathan-Abegaz 61b6f1e19e Added a section called "Casting". Details on how data types can be stored in other data types. (#23881)
* Added a section called "Casting"

* Reordered section, fixed typo
2018-12-01 21:55:44 -05:00
msabitabrata 0042936ce2 Callable vs Runnable (#23117)
* Callable vs Runnable

Included Callable interface as thread creation mechanism and the advantages of using Callable over Runnable

* fix: corrected wording on following line
2018-12-01 15:17:01 -07:00
cindy-tu 5f37db5a1f Added Official Java Doc for Declaring Constructor (#23830)
* Added Official Java Doc for Declaring Constructor

* Removed empty comment
2018-11-28 20:02:50 -05:00
Priyanshu kumar e2fe9d1fc5 Added Example and work of += operator (#23826)
* Added Example and work of += operator

* Fixed formatting
2018-11-28 20:02:27 -05:00
cindy-tu c316722888 Added Official Oracle Java Doc for Exception (#23819) 2018-11-28 20:01:13 -05:00
kzellers d11b18ff0b added info about importing single classes (#23643) 2018-11-28 19:49:37 -05:00
cindy-tu b5ddeaf9e0 Added Official Java Docs for Static Fields/Methods (#23825) 2018-11-27 21:17:19 -05:00
cindy-tu e05b874fc5 Added the official Oracle Java doc on "Finally" (#23823) 2018-11-27 21:16:04 -05:00
cindy-tu 5758e8db7a Added the official Oracle Java doc on "Equality" (#23820) 2018-11-27 21:11:22 -05:00
sletlape 47aa3aacee Better explanation (#22856)
* Better explanation 

I fixed the link from my last commit

* Reordered changes, created "More Information"
2018-11-27 00:36:06 -05:00
Shooflower abb98927b0 Spelling/grammar fixes and some clarification (#23518)
* Spelling/grammar fixes and some clarification

* Fixed the 'number' variable in the text
2018-11-25 23:26:06 -05:00
Shubhanshu Pratap Singh 5ff05b9832 add advantage of exception handling to the article (#23434)
* add advantage of exception handling to the article

* Fixed formatting
2018-11-25 23:18:12 -05:00
Chris Jesz 8b4c2f3d03 Added a more detailed example and corrected some content. (#22716)
The original page showed java.io as a built in package but it really isn't in the sense that you have to import the package in order to use it where as java.lang does not need to be imported. I removed mentions of java.io and cleaned up the description. I also added a simple example and explanation of a couple of java.lang packages.
2018-11-25 11:16:42 -07:00
Harsh Nayak b04cc579a6 add syntax of inheritance to article (#23396)
* add syntax of inheritance to article

add the simple syntax of inheritance before the actual example .

* Fixed formatting
2018-11-23 20:51:32 -05:00
Edulop139 3db72f82fd removed code to stop Scope error (#23269)
The print line is trying to call a local variable from the for loop and would result in a error.
2018-11-23 05:20:40 -05:00
msabitabrata b274ab7722 Array and ArrayList Conversion (#23044)
* Update index.md

Add Creating Array from ArrayList 
Add Creating ArrayList from Array

* Fix code formatting
2018-11-22 23:39:21 -05:00
CyberCore1010 7d4af339a7 Added a useful tip on 3D arrays (#23184) 2018-11-22 23:25:44 -05:00
CyberCore1010 d8609b5560 Specified that the stream api isn't technically a lambda (#23161)
* Specified that the stream api isn't technically a lambda

* Cleaned up statement
2018-11-22 03:49:05 -05:00
mian3se da3a9670b9 Update index.md (#25589) 2018-11-22 08:57:22 +05:30
Karen Tobo 65c5b03a41 Copy editing of ArrayList article (#22985) 2018-11-20 18:59:54 -05:00
nageswara-prasad e759361716 Add SpringBoot overview under Java frameworks (#22255)
Add SpringBoot overview under Java frameworks
2018-11-18 19:23:02 -07:00
Jonathan Lam 7ae7aa433d Added Oracle Java Docs for interfaces (#21602)
* Added Oracle Java Docs for interfaces

* Fixed formatting
2018-11-18 18:23:11 -05:00
Jonathan Lam fbcee51d03 Added Oracle Java docs for final variables (#21600)
* Added Oracle Java docs for final variables

* Fixed formatting
2018-11-18 18:22:33 -05:00
Brent Willems cddd01ecef added some info about System.out.printf() method (#22070)
printf() method uses a stringbuilder wich is more efficient in memory
2018-11-18 15:44:42 +00:00
Shubhanshu Pratap Singh 9d8e538ac0 Add the text of use of inheritance (#22097) 2018-11-18 01:32:43 -08:00
franklin216 df577f1278 Fixed Links (#22030)
Former links ended in 404
2018-11-17 20:53:48 -07:00
Sayantan 19dc3cc1ca Defination and few examples changed (#21940) 2018-11-17 15:34:56 -07:00
Jonathan Lam 99b3079019 Added Official Oracle Java docs for abstract class (#21595)
* Added Official Oracle Java docs for abstract class

* Fixed formatting
2018-11-17 16:41:44 -05:00
ahs-atan a9eb6b0e52 Some Useful links - Esecially for beginners (#22211)
Some links I found useful for learning and understanding Java Inheritance:
 - https://www.codejava.net/java-core/the-java-language/12-rules-and-examples-about-inheritance-in-java
 - https://medium.com/java-for-absolute-dummies/inheritance-in-java-programming-39176e0016f3
2018-11-17 05:04:48 -05:00
franklin216 38e5c587c7 Show Rocket Emoji (#22169)
Rocket Emoji was not shown
2018-11-17 03:39:27 -05:00
Karen Tobo e64c24c23d correct typo in instanceof (#24332) 2018-11-14 20:59:16 +05:30
samsvo a5958a98c7 How to create a loop counter for a for each (#21512) 2018-11-14 07:31:16 -06:00
Cole Polyak 54bbe61e75 Update Index.md (#21435)
Adds description of how the JVM has allowed Java to become so versatile and why Java is called the "Platform independent programming language"
2018-11-13 23:10:22 +00:00
Nicola Iacovelli 0d762bda39 Improved introduction of getter and setter (#22337)
Mentioned the principle of data encapsulation
2018-11-12 18:07:16 -05:00
samsvo 5917b2315e Changed subjective "better than" wording (#21548) 2018-11-11 09:36:36 +07:00
ayra-jafri 7dc9394cc9 Added some more resources (all free) to the list (#21232)
* Added some more resources (all free) to the list

* Updated the index.md and removed a few links

Specifically removed the Java2s book link, and the Java Freeware link. Also changed the link for the Helsinki MOOC to https.
2018-11-10 13:23:45 +07:00
Pawan Bangar 1f5d012bb8 add "Jvm Core Responsibilities and More About Jvm" (#21145)
* add "Jvm Core Responsibilities and More About Jvm"

we must know why java,not c++ reason is jvm...

* Update index.md

* Update index.md
2018-11-09 18:46:06 -05:00
Nicola Iacovelli 347f237090 Improved description of finally (#22367)
* Improved description of finally

Added more examples for the finally block

* Grammatical changes
2018-11-09 16:48:09 -05:00
Shad Ahmad Zaidi 92b88ea352 Describing the example of creating an array (#22366)
* Describing the example of creating an array

Describing the example as well as syntax for creating an array

* Fixed grammar and formatting issues
2018-11-09 16:47:19 -05:00
tasmainawolf fb7f531718 Adding throws keyword with multiple exceptions (#21142) 2018-11-09 11:10:01 -05:00
Brent Willems c2027c19a7 added link to Java Swing docs in this repo (#22105)
* added link to Java Swing docs in this repo

* Replaced repo link w/ guide link
2018-11-09 04:00:18 -05:00
Jacob Hoard d0911b8d65 Add information about .indexOf() (#21205) 2018-11-07 18:44:15 +00:00
S.Hale 3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
Shankar Rao Mata 4e14def324 added description about Ant build tool (#21202) 2018-11-07 09:43:17 -05:00
Chyanne Haugen 01a3532484 fixed spacing in loops (#21571) 2018-11-05 02:07:10 -05:00
samsvo 6c858fa259 Expanded upon "why getter and setter?" (#21417)
* Expanded upon "why getter and setter?"

* Fixed formatting issues and typo
2018-11-05 01:56:12 -05:00
Thomas Walker 76b4a74a84 Fixed all of the hyperlinks in index.md (#20808) 2018-11-04 09:25:45 +07:00
Harsh Nayak 493f8daa87 add advantages and disadvantages of array (#20768)
* add advantages and disadvantages of array

add two advantages and 1 disadvantages of array to the article.

* add advantages and disadvantages of array

updated the previous commit.
2018-11-03 21:46:49 -04:00
Mallory Butt dac0ccfe2a Adding basic Big O for ArrayList methods (#20859)
* Adding basic Big O for ArrayList methods

I added average O(n) for basic methods in arraylist. This is important for every programmer to know.

* minor edits

* moved a few lines
2018-11-03 17:08:02 -07:00
SakshamGupta1995 3f6a61fbca Add the text article Infinite Loop to my article (#25516)
* Add the text article Infinite Loop to my article

The article  "##Infinite Loop by opposite iteration##" gives an example to new java programmer as to how a program can go into infinite loop if we increment the value of i instead of decrementing it and vice-versa. It is a basic but an important example for new coders.

* Update index.md

* Add Infinite Loop by update

This article will give new programmers the example of infinite loop when we increment the value instead of decrementing and vice-versa.

* Fixed several formatting issues
2018-11-03 12:51:23 -07:00
Karen Tobo 74f2ddbed5 Copy edits for Java arrays article (#20615)
* Copy edits for arrays

Settling on British -ise endings rather than -ize, but either way works for me.

* markdownize link

americanize grammer
fix inline code blocks to use single ticks
turn output into code blocks to align with rest of article
2018-11-03 18:19:44 +05:30
Fategas 0ec3c322a4 Expand comment types in Java (#20409)
Clarify the difference between those 3 types of comments since it might be odd for someone new.
2018-11-01 21:12:02 -04:00
Trey 737739eb60 fix typo misspelling of increment() (#20769) 2018-11-01 05:21:21 -04:00
deliaphan ff3175845f fix typo error (#24882)
"guaranteed" instead o "guranteed"
2018-11-01 11:04:40 +05:30
Abhishek 7a90dbe515 Proposed an addition in for loop (#32990) 2018-10-31 17:00:34 -05:00
Abhishek 690bf76aa8 Added types of variables in java (#32976) 2018-10-31 16:37:46 -05:00
Christian Wilkie 3335fe26a7 Fix broken wikipedia link (#32970)
Link to Swing on the bottom was broken
2018-10-31 16:21:00 -05:00
Karen Tobo 861d06e78a Minor copy edits to Comments article (#20243)
* Minor copy edits

Adding some copy edits for readability.

* Correct my typo
2018-10-29 20:07:20 -07:00
akadidas 0a8f56ceca Update index.md (#22083)
Required changes and examples.
2018-10-29 15:27:24 -07:00
Talia Kaplanian 825751e04b Added single line comment shortcut (#20185)
* Update index.md

* added verbiage specifying comment hotkeys are only in some editors
2018-10-28 09:44:32 -07:00
Smruti Ranjan Rana 24392e05d0 Update "Another way to create an Array:" section (#19852)
* Update "Another way to create an Array:" section

Add another way to declare an array.

* Update 'Another way to create an Array' section, Add 'Declaring array literal' section.
2018-10-27 23:19:11 -04:00
rajranjan0608 7db9f67057 added OBJECT ORIENTED PROGRAMMING concept to the article (#20007)
* Update index.md

* Fix grammer
2018-10-27 21:28:03 -05:00
Jitendrasingh Chauhan (Jeetu) eb3aa437ee Docs: Modified java build tool wiki to add info about maven settings (#19959) 2018-10-26 22:03:28 -05:00
Martine Ross cde4e6d7f9 Fixed some grammatical errors (#29564) 2018-10-27 01:13:07 +05:30