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 3 of 3

Thread: New member and new question

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New member and new question

    Hello everyone

    My name is Tom a new member of this forum. I am beginner level of java programming and have passion to learn java programming language from anyone in this forum.
    I have a question about using java Eclipse

    I have to write 2 separate java classes using Eclipse. 1th class is Book and 2th class is Library. Book class is supset of Library class. How I can implement those classess in Eclipse?
    a) I have to create new java project with some name and write Book.java and Library.java in the same project?
    b) How Library class can call (or implement) Book class?

    Thanks a lot

    Tom


  2. #2
    Member
    Join Date
    Oct 2013
    Location
    Manila, Philippines
    Posts
    285
    My Mood
    Amused
    Thanks
    6
    Thanked 64 Times in 61 Posts

    Default Re: New member and new question

    Just click the File in the upper left corner of eclipse and select New then new Java Project (If you did not found the Java Project just click the Other at the bottom and find the Java Project in Java folder). Then provide a name for your project.

    Once Project is created, there is src folder/package. To create a class, just right click onsrc and click new then package (for convention), then right click on the created package and click new then class to create a class/java program. You can also create interface and enum.

    b) How Library class can call (or implement) Book class?
    Please visit this Lesson: Object-Oriented Programming Concepts (The Java™ Tutorials > Learning the Java Language)

  3. #3
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: New member and new question

    Hi dicdic

    Thanks for your help . I solved my problem

Similar Threads

  1. New Member Saying Hello
    By bignick in forum Member Introductions
    Replies: 3
    Last Post: September 14th, 2013, 10:18 PM
  2. new member
    By johagood in forum Member Introductions
    Replies: 2
    Last Post: August 14th, 2012, 07:57 AM
  3. New member
    By kloek8 in forum Member Introductions
    Replies: 1
    Last Post: July 24th, 2012, 06:55 PM
  4. Hi!!! New member
    By macnasty in forum Member Introductions
    Replies: 4
    Last Post: April 7th, 2010, 03:29 AM
  5. New Member
    By SwEeTAcTioN in forum Member Introductions
    Replies: 4
    Last Post: October 30th, 2009, 06:33 AM