Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 13 of 13

Thread: hi

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hi

    i'm a beignner in java.
    i failed in today's interview...
    plz give me some idea to start up.... please..

  2. #2
    Member
    Join Date
    Feb 2014
    Location
    India
    Posts
    47
    My Mood
    Bored
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Default Re: hi

    do you know any other programming language?

  3. #3
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    i went to C, C++, java class and i got certificates... but i'm not good in them... i know basics

  4. #4
    Member
    Join Date
    Feb 2014
    Location
    India
    Posts
    47
    My Mood
    Bored
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Default Re: hi

    try doing the programs which you did in other languages using Java. Get surrounded by problems and then get them cleared on this forum and on the internet.

    Happy Learning

  5. #5
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    okay... i wil

    --- Update ---

    plz explain abstract class, interface

  6. #6
    Member
    Join Date
    Feb 2014
    Location
    India
    Posts
    47
    My Mood
    Bored
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Default Re: hi

    haha.....Well in this only 2 things can help you- 1.Internet and 2. Java book.......

    you must start yourself. Learn online and then if you get stuck somewhere while programming then come back to this forum.

  7. #7
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    ok

    --- Update ---

    public class CallingMethodsInSameClass
    {
    public static void main(String[] args) {
    printOne();
    printOne();
    printTwo();
    }

    public static void printOne() {
    System.out.println("Hello World");
    }

    public static void printTwo() {
    printOne();
    printOne();
    }
    }

  8. #8
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: hi

    plz explain abstract class, interface
    In case you're not aware, the Java Tutorials are an excellent place to start, especially when answering questions in a very specific area.

  9. #9
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    public static void printOne()
    y here "public static void" is used?
    can v use another thing?

  10. #10
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: hi

    Does the method printOne() have to be static? That may depend on how it's used, but IN GENERAL, no. It does not have to be static.

    If I haven't understood your question, please try to be more clear. For example, I'm not sure what 'y' and 'v' represent in your post.

  11. #11
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    public static void printOne()
    why here "public static void" is used?
    can we use another thing?

  12. #12
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: hi

    As I said, it depends. You haven't provided enough info to give a definite answer.

  13. #13
    Junior Member
    Join Date
    Feb 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: hi

    ok...thanks...