• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Java tutorials

 
Greenhorn
Posts: 15
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need some websites and ebooks for Java learning.
Please assist.

Thanks in advance
Dhinesh
 
Marshal
Posts: 73334
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FAQ FAQ
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Oracle tutorials are good and there's lots of them:

http://docs.oracle.com/javase/tutorial/index.html

I also have this bookmarked altho I have not read much of it:

http://math.hws.edu/javanotes/index.html
 
Ranch Hand
Posts: 384
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you are specific about reading a hard copy ... go for head first java ...
 
Ranch Hand
Posts: 128
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also check the following tutotials
 
Campbell Ritchie
Marshal
Posts: 73334
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joseph Mokenela wrote:You can also check the following tutotials

I had a quick look at that tutorial, and didn’t like it.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this Java online video tutorial: Java basics
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this

This web site has so many video tutorials on many programming languages check that out.
 
Campbell Ritchie
Marshal
Posts: 73334
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jirka Pinkas wrote:Try this Java online video tutorial: Java basics

Welcome to the Ranch

I looked at that and was very disappointed. It is full of errors.
 
Jirka Pinkas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Campbell Ritchie: Errors? Such as?
 
Campbell Ritchie
Marshal
Posts: 73334
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
  • PATH set without reference to JAVA_HOME
  • New PATH entry added at end of old path
  • Need to restart computer after setting PATH
  • Classes are files with the same name and java extension
  • You should never put a class in the default package
  • A constructor called a special method
  • A no-arguments constructor called a default constructor
  • All found in 5 minutes. I won’t waste more time looking for more errors.
     
    Jirka Pinkas
    Greenhorn
    Posts: 4
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    PATH set without reference to JAVA_HOME - It works as desired. I don't want to teach people Windows administration, but Java programming.
    Adding new PATH entry at the end of old path - why is this wrong? It works as desired.
    Need to restart computer - OK, I admit, there's an error. One must restart commandline, not computer.
    Classes are files with the same name and java extension - for beginners who usually don't know difference between class and object it's much easier to grasp.
    You should never put a class in the default package - since Java 1.4 you really shouldn't. Tell me one good reason why?
    A constructor called a special method - What is a constructor, if not a method, that is called during creation of an object?
    A no-arguments constructor called a default constructor - or implicit constructor? If you read different literature, you would see different names for this simple thing.


    I think, that you never created any tutorial. It's easy to criticize, but much harder to create something.
     
    Campbell Ritchie
    Marshal
    Posts: 73334
    332
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Jirka Pinkas wrote:PATH set without reference to JAVA_HOME - It works as desired. I don't want to teach people Windows administration, but Java programming.

    It is unnecessarily complicated; if you set JAVA_HOME you can quote it in PATH. Saves trouble when installing a new version of the JDK.


    Adding new PATH entry at the end of old path - why is this wrong? It works as desired.

    If you already have a Java installation the PATH will find the old installation; if that is an earlier major release of the JRE, you may suffer an exception. The new path entry belongs at the beginning of the path

    Need to restart computer - OK, I admit, there's an error. One must restart commandline, not computer.

    Three, in the first two minutes of watching.


    Classes are files with the same name and java extension - for beginners who usually don't know difference between class and object it's much easier to grasp.

    Still wrong. A file may contain several classes, for example. You are supposed to teach correctly, not something which will have to change later.


    You should never put a class in the default package - since Java 1.4 you really shouldn't. Tell me one good reason why?

    Beginners’ classes may be put in the unnamed package. In fact, it causes so much confusion for beginners to try compiling in packages that beginners’ classes ought to be in unnamed package.


    A constructor called a special method - What is a constructor, if not a method, that is called during creation of an object?

    Still incorrect nomenclature. You can call a method on an object; you try calling a constructor on an object. Constructors are not members of the class, methods are.


    A no-arguments constructor called a default constructor - or implicit constructor? If you read different literature, you would see different names for this simple thing.

    The correct source for names is the Java™ Language Specification. I know a lot of people copy the names wrongly, or have been taught wrongly themselves, but keeping the correct names makes for better understanding between programmers easier. Where did you get “implicit” from?

    I think, that you never created any tutorial.

    In which case you are mistaken, but I saw no need to publish it.

    It's easy to criticize, but much harder to create something.

    I am putting the ball back in your court. I challenge you to explain why the tutorial you quoted is any good, when there are far better offerings available. There is a load of good stuff on the net, but there is also rubbish. You ought only to recommend the good stuff. Justify why you recommended that tutorial.
     
    You showed up just in time for the waffles! And this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic