Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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: 60065
188
  • 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: 12627
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!