C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » General »

A. How do string variables in C#/Java differ from strings in a non-object oriented languag


Posted Date: 01 Nov 2009      Posted By: TVS      Member Level: Bronze     Points: 1   Responses: 2



1.How do string variables in C#/Java differ from strings in a non-object oriented language like C?

2.Write the complete code for a base class Shape and derived class Rectangle. Constraint: Any derived classes from Shape must include a method to calculate area

3.Derive from the Rectangle class above a new class: Square. This class’ constructor should only take one parameter: side length

4.int z;
int x = 5;
int y = -10;
int a = 4;
int b = 2;

z = x++ - --y * b / a;

5.What is the difference between a static and non-static method? Can one class have both?

6.Can a primitive data type be null?





Responses

Author: ABitSmart    01 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Is this question different from the one you already posted ? Please do not repost.

Kind regards,
ABitSmart
DNS Web-master, DNS MVM
My blog
Thoughts.exe



Author: Melchior    01 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

please post your query in the correct category.


Post Reply
You must Sign In to post a response.
Next : About .net
Previous : Google Adsense
Return to Discussion Forum
Post New Message
Category: General

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use