Commit Graph

131 Commits

Author SHA1 Message Date
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
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
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
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
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
e2fe9d1fc5 Added Example and work of += operator (#23826)
* Added Example and work of += operator

* Fixed formatting
2018-11-28 20:02:27 -05:00
c316722888 Added Official Oracle Java Doc for Exception (#23819) 2018-11-28 20:01:13 -05:00
d11b18ff0b added info about importing single classes (#23643) 2018-11-28 19:49:37 -05:00
b5ddeaf9e0 Added Official Java Docs for Static Fields/Methods (#23825) 2018-11-27 21:17:19 -05:00
e05b874fc5 Added the official Oracle Java doc on "Finally" (#23823) 2018-11-27 21:16:04 -05:00
5758e8db7a Added the official Oracle Java doc on "Equality" (#23820) 2018-11-27 21:11:22 -05:00
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
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
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
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
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
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
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
7d4af339a7 Added a useful tip on 3D arrays (#23184) 2018-11-22 23:25:44 -05:00
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
da3a9670b9 Update index.md (#25589) 2018-11-22 08:57:22 +05:30
65c5b03a41 Copy editing of ArrayList article (#22985) 2018-11-20 18:59:54 -05:00
e759361716 Add SpringBoot overview under Java frameworks (#22255)
Add SpringBoot overview under Java frameworks
2018-11-18 19:23:02 -07:00
7ae7aa433d Added Oracle Java Docs for interfaces (#21602)
* Added Oracle Java Docs for interfaces

* Fixed formatting
2018-11-18 18:23:11 -05:00
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
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
9d8e538ac0 Add the text of use of inheritance (#22097) 2018-11-18 01:32:43 -08:00
df577f1278 Fixed Links (#22030)
Former links ended in 404
2018-11-17 20:53:48 -07:00
19dc3cc1ca Defination and few examples changed (#21940) 2018-11-17 15:34:56 -07:00
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
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
38e5c587c7 Show Rocket Emoji (#22169)
Rocket Emoji was not shown
2018-11-17 03:39:27 -05:00
e64c24c23d correct typo in instanceof (#24332) 2018-11-14 20:59:16 +05:30
a5958a98c7 How to create a loop counter for a for each (#21512) 2018-11-14 07:31:16 -06:00
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
0d762bda39 Improved introduction of getter and setter (#22337)
Mentioned the principle of data encapsulation
2018-11-12 18:07:16 -05:00
5917b2315e Changed subjective "better than" wording (#21548) 2018-11-11 09:36:36 +07:00
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
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
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
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
fb7f531718 Adding throws keyword with multiple exceptions (#21142) 2018-11-09 11:10:01 -05:00
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
d0911b8d65 Add information about .indexOf() (#21205) 2018-11-07 18:44:15 +00:00
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
4e14def324 added description about Ant build tool (#21202) 2018-11-07 09:43:17 -05:00
01a3532484 fixed spacing in loops (#21571) 2018-11-05 02:07:10 -05:00
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
76b4a74a84 Fixed all of the hyperlinks in index.md (#20808) 2018-11-04 09:25:45 +07:00
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