Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
16
Reply
Am i correct in what i think ? (list of methods and return types)
John Burns
Dec 22 2010 3:56 AM
3.9k
Reply
just really to test my knowledge on what i have learned so far.
is this list correct and its meaning?
1) Public int Test //a public function with an integer return type.
{
}
2) Public int Test; // a memebr variable that could be used in a class.
3) int Test; // a variable of integer data type.
4) Public static Test // a block(sub) that will not return a vlaue**
{
}
5) Public static int Test // a function that cannot be called with an instance of integer return type
{
}
6) Public void Test // a a block (sub) that will not return a vlaue but will excecute some code
{
}
//one thing im confused at is number 4 .... w=does this evwen exist .. should it be void as it returns no value?
thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
16
)
Next Recommended Forum
I Eat My Own Words
what i must know about provider whene i make connexion to oracle in c#