Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
how is anchoring different from dockingdocking refers to attaching a control to either an edge top right bottom or left or the client area of the
define an eventwhenever an action takes place in a class that class gives a notification to other classes or objects that are assigned to perform
what are queues and stacksstacks refer to a list in which all items are accessed and processed on the last-in-first-out lifo basis in a stack
what is a static constructorstatic constructors are introduced with c to initialize the static data of a class clr calls the static constructor
explain the concept of destructora destructor is a special method for a class and is requested automatically when an object is finally destroyed the
what do you mean by data encapsulationdata encapsulation is a method of binding data and code in single unit known as object and hiding all the
what are abstract classes what are the distinct characteristics of an abstract classan abstract class is a class that cannot be instantiated and is
what are methodsmethods are the building blocks of a class in which they are linked together to share and process data to produce the result in other
define an arrayan array is explained as a homogeneous collection of elements stored at contiguous memory locations which can be referred by the
what is a delegatea delegate is similar to a class that is used for storing the reference to a method and invoking that method at runtime as needed a
explain the concept of constructorconstructor is a special method of a class which is called automatically when the instance of a class is formed it
define enumerationenumeration is explained as values type that having of a set of named values these values are constants and are called enumerators
what is a multicast delegateevery delegate object holds reference to a single method though it is possible for a delegate object to hold references
how is method overriding different from method overloadingoverriding involves the creation of two or more concepts with the same name and same
what is the relationship between a class and an objecta class acts as a blue-print that explains the properties states and behaviors that are common
what is an objectthey are instance of classes it is a basic unit of a system an object is an entity that has attributes behavior and identity
what is a classa class explains all the attributes of objects as well as the methods that execute the behavior of member objects it is a
what is object-oriented programming oopoop is a method to develop logical modules such as classes that contain properties methods fields and events
what will be the default values of all the elements of an array explained as an instance variableif the array is an array of primitive types then all
difference between hash map and hash tablethe hashmap class is roughly equivalent to hashtable except that it is unsynchronized and allows nulls
what are the different scopes for java variablesthe scope of a java variable is explained by the context in which the variable is declared therefore
what are synchronized methods and synchronized statementssynchronized methods are methods that are used to control access to an object a thread only
what is the difference between static and non-static variablesa static variable is associated with the class as a whole rather than with specific
what is the difference between preemptive scheduling and time slicingunder preemptive scheduling the highest priority task executes unless it enters
what is synchronization and why is it importantwith respect to multithreading synchronization is the potential to control the access of multiple