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

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(); }

0 Answers   SRA,


i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION

2 Answers   CTS,


What is encapsulation selenium?

0 Answers  


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

12 Answers   Pfizer, TCS,


Can we have inheritance without polymorphism?

0 Answers  


Write on signed and unsigned integers and give three (3) examples each

1 Answers  


What are callback functions in c++

1 Answers   SoftTech,


how to swap the variables without using temp and operators

1 Answers  


class type to basic type conversion

0 Answers  


What is the Advantage of Interface over the Inheritance in OOPS?

4 Answers  


Which is the parameter that is added to every non-static member function when it is called?

3 Answers   Accenture,


How do you achieve polymorphism?

0 Answers  


Categories