The tricks to learn Java quickly

Source: Internet
Author: User
Tags coding standards java web java reference tutorialspoint

Q. Best Learn 中文版 language!!
A.Read The Oxford Dictionary ... Really?? No you learnt 中文版 reading novels and watching movies.
Q.Best Learn java!!
A.Don ' t go on reading a book/dictionary.

Q.Then what do I learn Java?
A.Before that lets answer this, what do we fail sir? Because we give up.
The biggest problem in learning a new language are giving up. People give up before they is productive enough to enjoy the fruits. So you need to make sure that is productive before your patience runs out.

How .
First, take the A book in Java (any book that teaches Java 7/8), read through, what do you read anovel(not as a school book, and Don ' t mug up). Finish this in a week. Just as much as you can. But is reading a novel, Haven ' t you finished novels in a week?

Then, secondly,Don ' tDo those stupid number Problems/trick programs/ascending/descending/sorting/searching/hashing ... etc. Just Don ' t. You shall does them in a introductory programming course + algorithms course, not when learning a new language. Besides these things don ' t make your ready for industry or personal projects. If you don't have introductory programming+basic math skills learn them first. And Don ' t concentrate on corner cases, you learn about corner cases when they arise in your projects, not before.

Pick up aSmall Project, something you want to do. Don ' t go big. You aren't Tony Stark so don ' t try making Jarvis. I do a Sudoku and then aWebsite Downloader(Crawls through the site and downloads each page, simplified version ofHttack). In the website Downloader I learnt to use AVL trees + Java I/O + Folder management + Networking.

Q.Wouldn ' t it take a long time to learn AVL trees + Java I/O + Folder management + Networking??
A. Yes,And probably your patience would reach it ' s end before you had made a small project.

Q.What does?
A.UseLibraries, they make your life easier, they let's productive before you give up. Why reinvent the wheel? I uses Apache Commons I/O and networking libraries. JDK itself comes with great libraries to data structures, use them.

Q.What is now?
A.Now so you had done a small project and you probably feel confident. Start writingBigger Projects. Or just improve your small project, make it big. Think new features you can implement in your small project and do it. Going by the same website Downloader, try implementing filters. Filters based on hyperlinks would teach you regex use. Make a GUI for it, and you'll learn Java swing.

Q.Did that, what ' s next?
A.Now you have probably realised this your code is not manageable, it unreadable and you were having a hard time adding new Features. You has common code that could has been put in a single place.
This was when we start thinking aboutInheritance/oop features, about making common code as library. Think about using designPatterns and Frameworks. Consider using Play orthe Spring framework, or look to other design patterns and frameworks that suit your task.

Now keep doing new projects, keep adding to your old projects, learn about the good practices followed and look I Nto the libraries you is using. Learn about data structures and algorithms too. Your aim must is to being more productive, never show off. The day of your start showing off you'll fall.
You'll make a great programmer (not just a Java programmer).

Here is some useful tools.

Useful IDEs:
1. Eclipse- Eclipse Luna

2. Netbeans- Welcome to Netbean

3.IntelliJ idea was also great IntelliJ idea:the Java IDE for Professional developers by JetBrains. (It ' s not only for professionals)

To start learning Java Online:
1. Java Tutorial:
Http://docs.oracle.com/javase/tu ...
2. Tutorials Point:
Page on tutorialspoint.com ...
3. Vogella
Eclipse, Android and Java training and support
4. Mkyong
Java Web Development Tutorials

Java Reference Books:
1. Head First Java:
Page on headfirstlabs.com ...
2. Java For Dummies:
Page on dummies.com ...
3. Java complete Reference-latest Edition.

Interview Questions:
The insider ' s Guide to Java interviewing ...
Http://www.tutorialspoint.com/ja ...

Keep programming and practicing. Start using third party libraries once is comfortable with basics.

Plan, Organize, Modularize, reuse-code as much as possible.

Try and confirm to these Coding standards:
Http://cleancode.sourceforge.net ...

Http://www.codeproject.com/Artic ...

Forums You can visit:
StackOverflow
Coderanch

Here's an answer I came across, which summarizes things:

Programming Practice and Contest

    • Programming competition,programming contest,online Computer programming
    • Sphere Online Judge (SPOJ)
    • Programming Praxis
    • Project Euler
    • TopCoder, Inc. | Home of the world ' s largest development Communitytopcoder, Inc. | Home of the world ' s largest development community
    • Codeforces
    • Hackerearth Beta
    • The Python Challenge
    • Hackerrank
    • Leetcode

Tutorials

    • Learnstreet
    • Geeksforgeeks
    • Code School
    • Bit twiddling Hacks
    • CS 97si:introduction to competitive programming contests
    • CSE blog-quant, math, CSE puzzles:easypuzzles
    • Me, Myself and mathematics
    • Runhe Tian Coding Practice | Technical interview questions from Apple, Google, Facebook, Amazon and Microsoft
    • Hack this site!
    • Good-tutorials-newest Tutorials

Social Interaction

    • Home-quora
    • Stack Overflow
    • Interview Questions | Careercup
    • GitHub Build software better, together.
    • Geeklist-a place for geeks to share what they ' ve do, who they do it with and connect with great companies
    • Http://www.reddit.com/r/programm ...

Must Read

    • Teach yourself programming in Ten years
    • Ten Puzzle Websites to sharpen Your programming Skills
    • Runhe Tian Coding Practice | Technical interview questions from Apple, Google, Facebook, Amazon and Microsoft
    • Leetcode
    • Geeklist-a place for geeks to share what they ' ve do, who they do it with and connect with great companies
    • Http://www.reddit.com/r/programm ...
    • Hack this site! (For Hackers)
    • Good-tutorials-newest Tutorials

Here's a link to top books referred on stack overflow:

Top mentioned books on stackoverflow.com

The tricks to learn Java quickly

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.