Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Java tutorials Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java tutorials" Watch "Java tutorials" New topic
Author

Java tutorials

Dhinesh babu
Greenhorn

Joined: Jul 04, 2011
Posts: 15

I need some websites and ebooks for Java learning.
Please assist.

Thanks in advance
Dhinesh
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37897
    
  22
FAQ FAQ
Marcus Kelvin
Ranch Hand

Joined: Jan 04, 2012
Posts: 44
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
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

if you are specific about reading a hard copy ... go for head first java ...


http://plainoldjavaobject.blogspot.in
Joseph Mokenela
Ranch Hand

Joined: Jan 18, 2011
Posts: 59

You can also check the following tutotials
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37897
    
  22
Joseph Mokenela wrote:You can also check the following tutotials
I had a quick look at that tutorial, and didn’t like it.
Jirka Pinkas
Greenhorn

Joined: May 28, 2011
Posts: 3
Try this Java online video tutorial: Java basics
Rumesh Eranga
Ranch Hand

Joined: Jan 26, 2011
Posts: 34
Check this

This web site has so many video tutorials on many programming languages check that out.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37897
    
  22
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

Joined: May 28, 2011
Posts: 3
Campbell Ritchie: Errors? Such as?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37897
    
  22
  • 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

    Joined: May 28, 2011
    Posts: 3
    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
    Sheriff

    Joined: Oct 13, 2005
    Posts: 37897
        
      22
    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.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Java tutorials
     
    Similar Threads
    class
    WA #2 ..... word association
    c++ or Java--your suggestions please
    zipping as self extracting exe
    J2EE