Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem compile  RSS feed

 
Greenhorn
Posts: 4
  • 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..
 
Ranch Hand
Posts: 148
Hibernate Java Tomcat Server
  • 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
  • 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
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • 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!
 
Marshal
Posts: 59131
180
  • 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
 
Bartender
Posts: 4568
9
  • 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
  • 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 ?
 
lowercase baba
Bartender
Posts: 12624
50
Chrome Java Linux
  • 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
  • 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
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!