Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 16125 sawaal for "classes"
Sort by: Recency | Relevancy

What are different types of inner classes?

well Marven, If you declare a class within a class and specify the static modifier, the compiler treats the class just like any other top-level class.Any class outside the declaring class accesses the nested class with the declaring class name acting similarly to a package. eg, outer.inner. Top-level inner classes implicitly have access only to static variables.There can also be inner interfaces. All

Posted in Computers & Technology by jks marven at 1:06 PM on May 28, 2008

Access specifiers: public, protected, private, nothing?

Public : Any other class from any package can instantiate and execute the classes and methods.Protected : Only subclasses and classes inside of the package can access the classes and methods.Private : The original class is the only class allowed to execute the methods.If nothing is provided,default - friendly - package level -permissions are given for class/members.public permissions are given for interface

Posted in Computers & Technology by rocky singh at 2:08 PM on June 26, 2008

What does the static keyword mean in front of a variable? A method? A class? Curly braces ?

Here we explain static keyword in term of varriable, method, class.Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A

Posted in Computers & Technology by rocky singh at 2:05 PM on June 26, 2008

What is an inline class?

well , I am feeling HAPPY to answer your question , I would like to suggest you to access the source site if its available , for more information.A class which is define inside a class is known as inner class inner class can be static but top level class can not be static.http://sourcemaking.c om/re factoring/inline-classFor more information , please do visit source site:Hope it will help you out

Posted in Computers & Technology by Radha at 11:59 PM on June 28, 2008
Tags inline, class

Freind plz explain me than what is the advantage of using "interface" instead of multiplt inheritence in java

. Implementing an interface allows a class to become more formal about the behavior it promises to provide. Interfaces form a contract between the class and the outside world, and this contract is enforced at build time by the compiler. If your class claims to implement an interface, all methods defined by that interface must appear in its source code before the class will successfully compile....Well Piyush

Posted in Computers & Technology by piyush soni at 9:53 PM on July 16, 2008

How does Java inheritance work?

Java Inheritance defines an is-a relationship between a superclass and its subclasses. This means that an object of a subclass can be used wherever an object of the superclass can be used. Class Inheritance in java mechanism is used to build new classes from existing classes. The inheritance relationship is transitive: if class x extends class y, then a class z, which extends class x, will also inherit

Posted in Computers & Technology by rocky singh at 2:07 PM on June 26, 2008

whats a abstract method?exp wiht a example

the abstract method. In this way, abstract methods help to partially specify a framework....well, A class that cannot be instantiated. A concept in C known as pure virtual method. A class that must be inherited and have the methods over-ridden. Essentially, its a blueprint for a class without any implementation. When at least one of the methods in the class is abstract. When the class itself is inherited from

Posted in Computers & Technology by SUNIL . at 4:13 AM on September 28, 2008

I am a girl . can i give the NDAexam?

<div class="spacer5 clearAll"></div><span class="userIDCont">zeeshan khan:</span><span class="chatTxtCont">hello</span><div class="spacer5 clearAll"></div><span class="userIDCont">zeeshan khan:</span><span class="chatTxtCont">hello...............</span>...<div class

Posted in Public & Civil Service by priyanka sha at 6:15 PM on November 14, 2009
Tags girl, ndaexam

What is an abstract class?

well;Abstract class must be extended/subclassed to be useful. It serves as a template. A class that is abstract may not be instantiated ie, you may not call its constructor, abstract class may contain static data. Any class with an abstract method is automatically abstract itself, and must be declared as such.A class may be declared abstract even if it has no abstract methods. This prevents

Posted in Computers & Technology by rocky singh at 5:24 AM on June 22, 2008

What is the difference between an Interface and an Abstract class?

Choosing interfaces and abstract classes is not an either/or proposition. If you need to change your design, make it an interface. However, you may have abstract classes that provide some default behavior. Abstract classes are excellent candidates inside of application frameworks.Abstract classes let you define some behaviors; they force your subclasses to provide others. For example, if you have

Posted in Computers & Technology by jks marven at 1:00 PM on May 28, 2008

Give example of inheritence in C?

Inheritance is the way of inheriting some property of some existing class which is called as Base class in new class which is called as Derived class. Derived class can inherit and expose public area of Base, and inherit protected area of Base, but cant inherit private area of Base.While inheriting from a Base, Derived class s public functions wont get access to Bases private area. Derived class can

Posted in Computers & Technology by bwd at 4:32 AM on September 06, 2008

what is a abstract method in java?pls exp with a example?....its a 10 mark question in my syllabus....so pls exp in such a way that i score 10/10 marks....pls

an implementation without braces, and followed by a semicolon, like this: abstract void moveTodouble deltaX, double deltaY;If a class includes abstract methods, the class itself must be declared abstract, as in: public abstract class GraphicObject // declare fields // declare non-abstract methods abstract void draw; When an abstract class is subclassed, the subclass usually provides implementations for all

Posted in Computers & Technology by SUNIL . at 5:11 AM on September 29, 2008

Give reasons why it is necessary to override a feature in object oriented programming?

well, Most typically this happens when an class inherits properties from another class. The child class would inherit methods from the parent class, but you might want to override some of them to modify the process. For example, you might have a class Car that stores properties of miles driven and gas purchased with a method MPGHistory to display a history of MPG over time. However, for an electric

Posted in Computers & Technology by Aryan Gusain at 8:51 PM on July 11, 2008

What is similarities/difference between an Abstract class and Interface?

Hi FriendThe difference and similarities b/w the abstract and interface Interface contains methods that must be abstract; abstract class may contain concrete methods. interface contains variables that must be static and final; abstract class may contain non-final and final variables. members in an interface are public by default, abstract class may contain non-public members. interface is used

Posted in Computers & Technology by Rajat Bhatia at 6:38 PM on August 16, 2008

What is reflection in c

The ability to find out information about objects at run-time is called Reflection. In Reflection we can find out the objects class, details of an objects methods, and even create one dynamically at runtime. Reflection is a powerful mechanism with the System.Reflection namespace contains nearly forty classes and interface. The Type class is the root of all reflection operations and the Object

Posted in Computers & Technology by VAISHNAVI at 10:36 PM on June 13, 2008
Refine By Date
Refine By Categories
sawaal signature
sawaal free visiting card