Buchegger, “Couple treatment following abortion in prenatal diagnosis,” Schweiz Med Wochenschr (Switzerland), 127(3): 69-72, 1977 (couples feel short-term relief but require “long-term counseling”; grief is similar to that following stillbirth); Chandler and Smith, “Prenatal screening and woman’s perception of infant disability: a Sophie’s Choice for every mother,” Nursing Inquiry (Australia), 5(2): 71-6, June, 1998 (post-abortion grief and guilt, and marital breakdown occur following abortion due to problems detected in prenatal screening); Ashton, “The Psychiatric Outcome of Induced Abortion,” British J. of Obstetrics and Gynecology , 1980; 1115-22.
1. What is the return type of a method that does not returns any value?
View Answer Answer: c
Explanation: Return type of an method must be made void if it is not returning any value.
2. What is the process of defining more than one method in a class differentiated by method signature?
a) Function overriding
b) Function overloading
c) Function doubling
d) None of the mentioned
View Answer Answer:b
Explanation: Function overloading is a process of defining more than one method in a class with same name differentiated by function signature i:e return type or parameters type and number. Example – int volume(int length, int width) & int volume(int length , int width , int height) can be used to calculate volume.
3. Which of the following is a method having same name as that of it’s class?
View Answer Answer: d
Explanation: A constructor is a method that initializes an object immediately upon creation. It has the same name as that of class in which it resides.
4. Which method can be defined only once in a program?
a) main method
b) finalize method
c) static method
d) private method
View Answer Answer: a
Explanation: main() method can be defined only once in a program. Program execution begins from the main() method by java’s run time system.
5. Which of these statement is incorrect?
a) All object of a class are allotted memory for the all the variables defined in the class.
b) If a function is defined public it can be accessed by object of other class by inheritation.
c) main() method must be made public.
d) All object of a class are allotted memory for the methods defined in the class.
View Answer Answer: d
Explanation: All object of class share a single copy of methods defined in a class, Methods are allotted memory only once. All the objects of the class have access to methods of that class are allotted memory only for the variables not for the methods.
6. What is the output of this program?
Table of contents
About this book
This on-line textbook introduces many of the basics of formal approaches to the analysis of social networks.
The text relies heavily on the
work of Freeman, Borgatti, and Everett (the authors of the UCINET software package). The materials here, and their
organization, were also very strongly influenced by the text of Wasserman and Faust, and by a graduate seminar
conducted by Professor Phillip Bonacich at UCLA. Many other users have
also made very helpful comments and suggestions based on the first
version. Errors and omissions, of course, are the responsibility
of the authors.
You are invited to use and redistribute this text freely
-- but please acknowledge the source. Hanneman,
Robert A. and Mark Riddle. 2005. Introduction to social network
methods. Riverside, CA: University of California, Riverside (
published in digital form at http:///~hanneman/
Table of contents: Preface
1. Social network data
2. Why formal methods?
3. Using graphs to represent social relations
4. Working with Netdraw to visualize graphs
5. Using matrices to represent social relations
6. Working with network data
9. Ego networks
10. Centrality and power
11. Cliques and sub-groups
12. Positions and roles: The idea of equivalence
13. Measures of similarity and structural equivalence
14. Automorphic equivalence
15. Regular equivalence
16. Multiplex networks
17. Two-mode networks
18. Some statistical tools