Total Posts:4|Showing Posts:1-4
Jump to topic:

java tutorial

arpitmandliya
Posts: 1
Add as Friend
Challenge to a Debate
Send a Message
7/4/2017 6:53:01 PM
Posted: 5 months ago
There are many good website available which can help you in learning java.
My favaorites are:
http://www.javacodegeeks.com...
http://www.java2blog.com...

I would like to add few tips for learning java quickly

Java has a huge learning curve, it is a complete programming language with lots of classes, APIs etc. Don't try to learn everything at once, go step by step and master Java programming world.

Ways to learn Java Programming:

Read books:

There are many good books from which you can learn Java Programming.

Some of them are:

Head first Java
Effective Java
Thinking in Java

Head first Java is my favorite among all. I really liked head first Java and enjoyed reading it.Head first Java explains Java Concepts in very unique and interesting way. You will be able to learn Class, Object, Thread, Collections and Generics and various other concepts.

Join a Video Course:

There are many good video courses from which you can learn Java programming. It will help you to learn Java at a good pace.

Some of the good online courses are:

https://www.udemy.com...
Simplilearn

Follow good Java blogs:

There are many good online blogs/website from which you can learn Java easily.

Here is the complete tutorial for beginners and experienced programmers which will help you to learn Java Programming.
http://www.java2blog.com...

Tips to learn the internals of Java:

Understand Java basics:

It is always essential to understand basics of any language when you get started. You need to understand basic concepts of Java such as classes, objects, packages, variables, keywords, data types etc.

Think in Object oriented way:

As you know Java is an Object oriented programming language, you need to understand object oriented concepts such as abstraction, encapsulation, polymorphism, and inheritance.

You need to think in terms of object and class. For example Employee has attributes such as name, age, and behavior such as completeAssignment etc.

Master Collections:

Collections framework is the most used framework in Java.Don"t just understand the usage of collections such as HashMap, HashSet, TreeMap, Treeset but also understand internal working of Collections.

Choose any IDE:

You can choose IDE such as Eclipse, intellij or Netbeans. It will help you to do programming faster and will inturn increase your efficency. You should also learn some improtant keyboarad shorts for that IDE.

For example:

When you copy any code and put any code in eclipse, you need to import all import statements for that program, you can simply use control+ shift+ O in eclipse and it will take care of imports. Hence it will help you to increase your efficiency while programming.

Write Basic Programs:

Practice basic java programs on String, Numbers and Array etc. It will help you to write simple logics.
Here is link for Java interview questions and programs
http://www.java2blog.com...
http://www.java2blog.com...

Practice at HackerRank:

Once you are familiar with collections and object oriented concepts, you can practice Java programming at HackerRank. it will help to master syntax and building logic.

Learn Multithreading:

It is quite hard to master Multithreading.It requires good amount of practice to learn multithreading as thread outputs are unpredictable in most of the cases. You can learn basics of threads such as how to create a thread, life cycle of thread and different method of Thread class such join, sleep, yield and thread synchronization.

Once you are comfortable with basics of thread, learn executor framework. Java 5 has introduced executor framework which takes care about thread creation and management, you can just concentrate on business logic.

Create small Projects:

You can create simple projects of your choice such as Library Management, Transport system. Create a simple design, Identify major entities, use cases and write a Java application to solve the program.

Browse some good Projects on github:

There are many good open source projects on GitHub. You can browse some good projects, it will help you to understand some good practices on design and coding.

Learn design pattern:

It is always a good idea to learn some design patterns. Learn few design patterns and apply it in Java applications.

For example: Observer design pattern depicts publisher-subscriber relationship.You can identify use case and easily implement it in Java program.

Practice, Practice, and Practice:

There are no shortcuts to learn Java. If you want to become a good Java developer, you need to practice more and more.
Source: http://www.java2blog.com...
Dirty.Harry
Posts: 1,992
Add as Friend
Challenge to a Debate
Send a Message
9/10/2017 5:02:29 PM
Posted: 3 months ago
At 10/22/2015 9:58:46 AM, kethismith wrote:
hi,
i want to learn java please suggest me the best website for it.

Seriously don't waste time with Java. It's a legacy language, a weak language and a language that crawls when it comes to adopting new features.

If you have a choice in the matter put Java aside.