Search:

Type: Posts; User: Gerardgrundy

Search: Search took 0.09 seconds.

  1. Thread: Structure

    by Gerardgrundy
    Replies
    8
    Views
    1,944

    Re: Structure

    public class a
    {
    private String b;
    private String c
    // this is what I indented is this better?
    public a(String b, String c)
    // do i need these curly braces below. why do i need...
  2. Thread: Structure

    by Gerardgrundy
    Replies
    8
    Views
    1,944

    Re: Structure

    public class a
    {
    private String b;
    // this is what I indented is this better?
    public a(String b)
    {
    }

    public String getb()
    {
  3. Thread: Structure

    by Gerardgrundy
    Replies
    8
    Views
    1,944

    Thanks for your quick reply. I gave the alt-s f a...

    Thanks for your quick reply. I gave the alt-s f a go and nothing happens. I've got some custom formatting set up with this quick key. Should the constructor be indented 4 spaces with the rest of the...
  4. Thread: Structure

    by Gerardgrundy
    Replies
    8
    Views
    1,944

    Structure

    Hi I'm doing some code and the use of the Curley braces is confusing me.

    public class a
    {
    private String b;

    public a(String b)
    {
    }
Results 1 to 4 of 4