Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


C#.net Interview Question

A=10
B=5
C=A+B
Print C

The above will be given in a multiline textbox. You need to
parse the above input, store values for A,B&c. And you have
to display the value of C.



C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline tex..

Answer / murthyknm

public class Sum
{
public static void main(String aaa[])
{
int A=10,B=5,C=0;
C=A+B;
System.out.println(" "+C);
}
}

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More OOPS Interview Questions

why function overloading is not called as pure polymorphism?

2 Answers  


oops concept is used for?

3 Answers   Synergy,


What is the purpose of polymorphism?

0 Answers  


What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

0 Answers  


what is single inheritance?

18 Answers   IBM,


Write a program to get the binary tree.

3 Answers   ABC,


When you define a integer it gets stored in which data structure?(Stack or a heap)

2 Answers   emc2,


You have one base class virtual function how will call that function from derived class?

4 Answers  


what is an qt4 interface?

1 Answers   IBM,


can inline function declare in private part of class?

1 Answers  


Name a typical usage of polymorphism

3 Answers  


Categories