• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem compile

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic