Hello guys, I need help for this Study Guide, with explain and examples to help
ID: 3861523 • Letter: H
Question
Hello guys, I need help for this Study Guide, with explain and examples to help me understand them.
Implement the Comparable Interface. Requires two parts – the clause on the class header and the implementations itself.
Implementation of a standard custom class.
Invoke one or more of your SortSearchUtil or FileUtil methods. Requires proper reference to the static method.
Method overriding and method overloading
Constructor rules
Array handling – One dimensional / two dimensional
Constructing
Initializing
Modifying
Object-oriented programming concepts
Class / object definitions
Static / non-static
Encapsulation
Java API documentation
Reading an API method summary
Method signatures
Method calls
Tracing an array through a sorting algorithm
Implementation of standard class variables and methods
Identification of methods inherited from Object
Thank you.
Explanation / Answer
The explanation required is as follows:
1) Class: Its basically a real world entity having data members and member functions. For example "Bird" is a class
2) Object: Its basically a instance of Class.
3) The various object oriented programming concepts are:
i) Abstraction: Object oriented programming provided abstract view. Here we need not think how base class is working we just inherit it if we want to use it.
ii) Inheritance: In these property one class inherit the properties of another class.
iii) Encapsulation: Its refers to the data security. In object oriented programming we have various access specifier to protect the data.
iv) Polymorphism: It says that one fuction may behave differently in different conditions.
4) Static Data Member: Static data member store in the data segment of the memory. And all the object share the same static data member.
5) Non Static Data Member: These data member stored in stack or in the heap and each object having seperate non static data member.
6) Constructors: In object oriented programming, constructors are used to initialize the data member of the class. Constructors are being called when ever we create the object
There are three types of constructors:
i) Default
ii) Parameterised
iii) Copy Constructor
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.