Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2552

Re: Help with Java in Netbeans

Newsgroups comp.lang.java.help
Date 2013-02-24 18:17 -0800
References <569be3e1-1080-4d91-82bd-bb0cf035449b@googlegroups.com> <891e26a3-138c-4f10-b9e0-b130c849d7a1@googlegroups.com>
Message-ID <0402a3fc-f8c1-48ac-89b9-e0c77c2a476b@googlegroups.com> (permalink)
Subject Re: Help with Java in Netbeans
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Sara M. wrote:
> I know how to print it but it gives me a error the print is System.Out.Println(); 

There's no such thing in java.lang.System.

Spelling counts in Java.

You know how to print what? What error does it give you? (Copy and paste, do not merely 
describe the error.)

You've been pointed to 
http://www.catb.org/esr/faqs/smart-questions.html
before, haven't you?

>  but the last 3 lines of the code are having an issue that is what i [sic] dont get ! i dont see where the problem is

What issue are they having?

> and in the second assignment i dont get how you can print the whole formula 

What do you mean by "the whole formula"?

> cause in java [sic] when you type 5/2 you automatically get 2 

Actually, no. When the program evaluates the expression '5/2' it evaluates to '2'.

It doesn't happen when you do anything, let alone type.

> and not the whole formula  5/2=2

What do you mean by "the whole formula"?

>  .... I want to know how to print out the whole formula

Do you mean you want to print the string "5/2 = 2"? Why didn't you say so?

-- 
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help with Java in Netbeans "Sara M." <kasra.song@gmail.com> - 2013-02-24 17:28 -0800
  Re: Help with Java in Netbeans "Sara M." <kasra.song@gmail.com> - 2013-02-24 17:50 -0800
    Re: Help with Java in Netbeans Lew <lewbloch@gmail.com> - 2013-02-24 18:17 -0800
  Re: Help with Java in Netbeans Lew <lewbloch@gmail.com> - 2013-02-24 18:24 -0800

csiph-web