We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students,
Below is a topic for GDB. Please make sure that your reply should be precise and to the point.
GDB will remain open for two consecutive working days from 23rd January to 24th January. Also make sure you post your GDB on time as No GDB will be accepted via email in any case.
Topic is as follows:

You have two classes, Class A and Class B. Being a programmer either you can implement Class B as nested class of Class A or you can inherit Class B from Class A. 

These are two ways to describe the relationship between classes. Discuses the situations in which, concept of public inheritance and nested class is more appropriate to use. Justify with solid reasons.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 3050

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please Discuss here about this GDB.Thanks

gdb ka solution dain plzZzZ

Any ideas???

Someone share the GDB solution please............

Koi ha jo help kare?

koi to help kr dain......plzZzZzZ

plzZZzZ help in gdb aj last day hai.

Class declarations define new reference types and describe how they are implemented (§8.1).

nested class is any class whose declaration occurs within the body of another class or interface. A top level class is a class that is not a nested class.

This chapter discusses the common semantics of all classes-top level (§7.6) and nested (including member classes (§8.5§9.5), local classes (§14.3) and anonymous classes (§15.9.5)). Details that are specific to particular kinds of classes are discussed in the sections dedicated to these constructs.

A named class may be declared abstract (§8.1.1.1) and must be declared abstract if it is incompletely implemented; such a class cannot be instantiated, but can be extended by subclasses. A class may be declared final (§8.1.1.2), in which case it cannot have subclasses. If a class is declared public, then it can be referred to from other packages. Each class except Object is an extension of (that is, a subclass of) a single existing class (§8.1.4) and may implement interfaces (§8.1.5). Classes may be generic, that is, they may declare type variables (§4.4) whose bindings may differ among different instances of the class.

Classes may be decorated with annotations (§9.7) just like any other kind of declaration.

The body of a class declares members (fields and methods and nested classes and interfaces), instance and static initializers, and constructors (§8.1.6). The scope(§6.3) of a member (§8.2) is the entire body of the declaration of the class to which the member belongs. Field, method, member class, member interface, and constructor declarations may include the access modifiers (§6.6) publicprotected, or private. The members of a class include both declared and inherited members (§8.2). Newly declared fields can hide fields declared in a superclass or superinterface. Newly declared class members and interface members can hide class or interface members declared in a superclass or superinterface. Newly declared methods can hide, implement, or override methods declared in a superclass or superinterface.

Field declarations (§8.3) describe class variables, which are incarnated once, and instance variables, which are freshly incarnated for each instance of the class. A field may be declared final (§8.3.1.2), in which case it can be assigned to only once. Any field declaration may include an initializer.

Member class declarations (§8.5) describe nested classes that are members of the surrounding class. Member classes may be static, in which case they have no access to the instance variables of the surrounding class; or they may be inner classes (§8.1.3).

Member interface declarations (§8.5) describe nested interfaces that are members of the surrounding class.

lagta hai is bar kud he kuch karna para ga.

han je usman himate mardan madad e khuda

han yar ye log ghussa dela rahay hain ab khud he krna pare ga =P

this may be helpful to prepare Idea for GDB.......

Attachments:

ahm

 

RSS

Latest Activity

Azhar Sagar liked Azhar Sagar's discussion quiz main kese 10/10 mark la saktay hain cheating ka asan tareeqa
26 minutes ago
Azhar Sagar liked Azhar Sagar's discussion Subscribe my youtube channel for assignment solution and final year project help
27 minutes ago
M IDREES replied to + M.Tariq Malik's discussion CS403 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group CS403 Database Management Systems
27 minutes ago
Azhar Sagar posted discussions
27 minutes ago
M IDREES replied to + M.Tariq Malik's discussion CS403 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group CS403 Database Management Systems
29 minutes ago
M IDREES replied to + M.Tariq Malik's discussion CS403 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group CS403 Database Management Systems
31 minutes ago
M IDREES joined + M.Tariq Malik's group
31 minutes ago
M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
38 minutes ago
Profile IconM IDREES, Abdul Ghaffar and Umair ali joined + M.Tariq Malik's group
38 minutes ago
+ AiM replied to 彡Tweety彡 ❤️'s discussion .... Mera Pakistan... :x:p
40 minutes ago
Siddiq khan kakar joined + M.Tariq Malik's group
46 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
58 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
59 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
59 minutes ago
Mian Ali added a discussion to the group MCM520 Contemporary Mass Media
1 hour ago
Mian Ali joined + M.Tariq Malik's group
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion in the group EDU302 Human Development and Learning
1 hour ago
Mian Ali joined + M.Tariq Malik's group
1 hour ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS508 Modern Programming Languages
1 hour ago
+ !! SARAH replied to Rana Ali's discussion Tell some words in the Shan of Hazart Muhammad (S.A.W)
1 hour ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service