what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
1 4613write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
2 26614Which Programer/Programing Software Should i use to program Mitsubishi FX Series PLC. PLZ DO ANSWER
1805DB2 application programs can be written in which of the following languages? a) COBOL b) PL/I, FORTRAN, PASCAL, COBOL, C c) PL/I, FORTRAN, C, COBOL, ASSEMBLER d) COBOL, PL/I, FORTRAN, BASIC, APL2, C & ASSEMBLER
2 44073. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r
3 25697Programming in C
JayLQue@hotmail.com
1. Which of the types listed below can be the type of the
result value returned by a user-defined function?
A) int
B) double
C) char
D) all of the above
E) none of the above
2. What is the output from this program?
#include
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.
TCS,
2 13913Let arr be an array of 20 integers. Write a program that first fills the array with up to 20 input values and then finds and displays both the subscript of the largest item in arr and the value of the largest item. • Use an IDE to develop and save your work
2271
what is the include program name?
What is the program to maintain change run?
What does the program RSMDCNVEXIT check?
What is the alpha check execution program?
How does u handle this COM components developed in other programming languages in .NET?
Allowed program to auto-correct the database when loading a presentation.
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
Which is your favorite editor, shell, programming shell and why?
What is the term for decomposing a software program so that latent design information can be extracted? 1. Reengineering 2. Regression 3. Restructuring 4. Reusability 5. Reverse engineering
Program for Prime numbers and Matrix plz explain me the procedural method with steps
What is unique about B.L.M business that would impact the future client/server architechture or software needs of your G.I.S programme?
HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)
Enhance the Debug() function so that the programmer has to press Enter or Return after debugging is deactivated?
How will you make .NET programs work in Linux ?
What are the functions of the typical server program?