This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem compile

 
Patrick Ejsing-Duun
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

I'm reading this book called "Head First Java". Really cool book btw.

but then i try to compile myfirstapp.java in the console I get 2 error.



myfirstapp.java look like this:


Naarh..
 
Vijay Tidake
Ranch Hand
Posts: 146
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

System.out.printIn("I Rule!");


It is System.out.println("I Rule!");

l not I.

Thanks
 
Patrick Ejsing-Duun
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vijay Tidake wrote:Hi,

System.out.printIn("I Rule!");


It is System.out.println("I Rule!");

l not I.

Thanks


cool thanks

just started today
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then you're doing just fine. We all make small mistakes like that when we started. Good luck and welcome to the JavaRanch!
 
Campbell Ritchie
Sheriff
Pie
Posts: 47232
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started. Good luck and welcome to the JavaRanch!
I had far more mistakes than that when I started
 
Matthew Brown
Bartender
Posts: 4549
8
Java Netbeans IDE Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started

Whereas nowadays we make big mistakes.
 
Patrick Ejsing-Duun
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matthew Brown wrote:
Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started

Whereas nowadays we make big mistakes.


hehe
I have coded a little in C#, will that make it easier for me ?
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12017
24
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Patrick Ejsing-Duun wrote:I have coded a little in C#, will that make it easier for me ?

yes and no.

yes, because you should be familiar with things like loops, if-else, etc.

No, because if you are like me, you'll wind up writing something using C# syntax in a java program (or vice versa), and be really confused when it won't compile.
 
Patrick Ejsing-Duun
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fred rosenberger wrote:
Patrick Ejsing-Duun wrote:I have coded a little in C#, will that make it easier for me ?

yes and no.

yes, because you should be familiar with things like loops, if-else, etc.

No, because if you are like me, you'll wind up writing something using C# syntax in a java program (or vice versa), and be really confused when it won't compile.


sounds nice in a way
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic