Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
5 17555i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.
1 3651write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
1596write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
1486sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....
2 3038Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
2 4712
What is static in oop?
State what is encapsulation and friend function?
What is oops and its features?
Why is oop better than procedural?
What does and I oop and sksksk mean?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What are the two different types of polymorphism?
What are classes oop?
What is static modifier?
can inline function declare in private part of class?
What is encapsulation selenium?
What is encapsulation with example?
what is difference between class template and template class?
Is enum a class?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?