TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
marvin7
NA
142
0
QUESTION of the DAY - Good luck!
Oct 31 2003 10:26 AM
GIVEN THE FOLLOWING CODE, WHAT HAPPENS IF YOU TRY TO COMPILE AND RUN? (Ignore line numbers.) ---------------------------------- 1. using myAlias = System.Console.WriteLine; 2. 3. class Example 4. { 5. public static void Main( ) 6. { 7. int i = 32; 8. System.Console.Write( i ); 9. // myAlias(" is my favorite number!"); 10. } 11. } ---------------------------------- A. This code compiles and runs normally. B. This code does not compile because of line 1. C. This code does not compile because of line 8. D. This code compiles, but a runtime error occurs.
Reply
Answers (
4
)
Question of the Day 10-31-03
BONUS QUESTION!