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: Could someone give me the technical terms for the parts of this statement?

  1. #1
    Junior Member
    Join Date
    Dec 2021
    Posts
    26
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Default Could someone give me the technical terms for the parts of this statement?

    This is to complete an abstract method from a sublass. I'd like to know what the technical term is for the words Animal and Dog in this statement. I know animal is the parent class and Dog is the subclass that extends it but is there a more technical term for these in the use of this particular statement?

    Animal obj = new Dog();

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Could someone give me the technical terms for the parts of this statement?

    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    FightingIrishman (January 4th, 2022)

  4. #3
    Junior Member
    Join Date
    Dec 2021
    Posts
    26
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Default Could someone give me the technical terms for the parts of this statement?

    This is to complete an abstract method from a sublass. I'd like to know what the technical term is for the words Animal and Dog in this statement. I know animal is the parent class and Dog is the subclass that extends it but is there a more technical term for these in the use of this particular statement?

    Animal obj = new Dog();

Similar Threads

  1. How to split parts of a String but ignoring certain parts?
    By HyperRei in forum Computer Support
    Replies: 1
    Last Post: November 15th, 2021, 07:09 AM
  2. Replies: 3
    Last Post: August 28th, 2019, 02:05 PM
  3. Summing n terms of a Fibonacci Sequence
    By wayfaring_stranger in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 19th, 2012, 12:45 AM
  4. Newbie: needs meaning of terms (dictionary)
    By boyscout in forum Member Introductions
    Replies: 1
    Last Post: March 29th, 2011, 05:34 AM