Details of this Paper

Instructions ? For your final project, please address




Instructions: ? For your final project, please address;Instructions;? For your final project, please address the following questions.;? Please respond substantively to each question and avoid one-line sentences;? For each answer, where appropriate, cite your answer per APA documentation format. In other words, tell me the source of your answer. You can cite pages in your textbook that contain the answer, or you can also use trusted resources found via Internet as your resources.;IMPORTANT: Use your Word Processor (i.e. Microsoft Word) to answers the questions below. For the ones that involve coding, you could also just type up your code in the same Word document, or, you many choose to use JGRASP and then attach the.JAVA files. Make sure you have some Java comments that indicate what question you're answering.;Questions;1. (1) There are many different concepts associated with OOP (Object-oriented programming) like;? Class;? Object;? Inheritance;? Polymorphism;? Abstraction;? Encapsulation;? Interface;? Method Overloading;? Method Overriding;? ?and others;QUESTION: Pick FIVE of the above listed OOP concepts and describe each in details (50 points);2. (2) In Java (and OOP), Inheritance involves the concept of super class (parent class) and sub class (derived class). What is a super class in Java? What is a sub or derived class in Java? (10 points);(3) 3. Code a simple class in JAVA classed ?Student.? Your class must contain the followings (20 points);? Variables (name, age, addressStreet, city, state, zip, country);? Setter and Getter methods;Example;public void setName(String name); = name;public String getName();return name;4. (4) Code a short JAVA program that demonstrates Inheritance (20 points).;HINT;? To demonstrate true OOP inheritance, your code must include a super (parent) class and a sub class (derived class);? As an example, class Student could be a super class while class GraduateStudent is a sub class that inherits from Student class.;? In your subclass (i.e. GraduateStudent), you must include the JAVA inheritance keyword that shows that a class inherits from another.


Paper#69236 | Written in 18-Jul-2015

Price : $32