|
Skip Navigation Links
Home
>
Complaint Questions
Home
Hindi GK
UPSC GK
State GK
South India
Tamil
Telugu
Kannada
Malayalam
West India
Marathi
Gujarati
MP GK
Chhattisgarh
North India
RPSC
Haryana
UP GK
Uttarakhand
Himachal
Delhi
East India
Bihar
Jharkhand
Educational Quiz
College Quiz
A-O Level
Medical
Medical-PG
Engineering
GATE
MBA-BBA
Aptitude
IT Eng.
International
USA
UK
MCQ GK
Exam Quiz
old Exams
जीवनी
नौकरी
विशेष
search
Reported Question / Answer
Q.) An Account class has a property called accountNo and acc is a reference to a bank object and we want the C#.NET code snippet given below to work. Which of the following options will ensure this functionality? acc.accountNo = 10; Console.WriteLine(a
1)
Declare accountNo property with only get accessor.
2)
Declare accountNo property with both get and set accessors.
3)
Declare accountNo property with only set accessor.
4)
Declare accountNo property with get, set and normal accessors.
5)
NULL
Answer :
2
Thank you for reporting wrong Question / Answer / Options
We look forward to your suggestions and feedback.
Message / Correct Answer / Suggestion
Human Verification : Answer 2 + 3 = ?
Reading Corner ( Ctrl + Mouse Click)
What is the area of Alabama?
When was Judy Garland married to Vincente Minnelli?
When was Illinois separated from Indiana?
Which is the capital of Illinois?
Which college did Gertrude Belle Elion attend?
Which is the capital of Kansas?
Which newspaper did Benjamin Franklin publish?
When did Flannery O’Connor publish A Good Man Is Hard to Find, and Other Stories?
Which is the capital of West Virginia?
Which is the capital of Texas?
Alaska is the largest state in USA. How many electors it has in Electoral College for USA Presidential Election 2008?
Where was Elizabeth Taylor born?
What was Irving Berlin’s original name?
Where was Andrew Johnson born?
When did Frank Kellogg win Nobel Prize for Peace?
Which river separates Nebraska from Iowa and Missouri?
Which is the capital of Idaho?
When did Jack Kilby die?
Who surrendered Detroit to the British in the War of 1812?
Where was John Harvey Kellogg born?
What was the code name given by Allies for invasion of northwest Africa?
Who was the Democratic Party’s candidate for Vice President for USA Presidential Election 2008?
Where did St. Katharine Drexel found St. Catherine’s Boarding School for Pueblo Indians in 1894?
Who jailed Henry David Thoreau for not paying poll tax?
When was John F. Kennedy sworn in as President of USA?
Which is the capital of Connecticut?
Who sponsored the Kansas-Nebraska Act?
Which is the capital of Minnesota?
Where did Andrew Jackson spend his years of retirement?
Who founded Holly Springs?
When did Richard Buckminster Fuller write Critical Path?
Who was the President when James Madison was Secretary of State?
Which of the following did Henry Louis Mencken attend?
Which college did Anne Spencer Morrow attend?
Which university did Sinclair Lewis attend?
When was William Taft born?
Which college did Barbara Tuchman attend?
When was Norman Cousins born?
When was Baltimore founded?
Which is the highest point in Ohio?
2In which year man stepped on the Moon for the first time?
Which is the highest point in New York?
Where did Benjamin Franklin die?
When was the University of Oregon founded?
Which decision by Supreme Court of USA in 1857 allowed slavery to continue?
Where did Lew Wallace practice law?
When did Robert Lee die?
Which country was defeated by USA in a war in 1898?
Who agreed to annex Hawaii to USA?
When was Franklin Pierce sworn in as President of USA?
Whose portrait appears on $5 note?
Which ocean is to the east of South Carolina?
Which college did William Henry Harrison attend?
What is the motto of Wisconsin?
Which famous poem did Lydia Maria Child write?
When was Jackie Collins born?
What did Yogi Berra say in July 1973 when his New York Mets trailed Chicago Cubs by 91/2 games?
When did Nebraska become a state of USA?
After whom was Georgia named?
When did Gertrude Belle Elion join Burroghs Wellcome Laboratory?
Which university did Gerald Ford attend?
Which city is known as the Big Apple?
When did Puerto Rico become a commonwealth associated with USA?
During the Civil War William McKinley enlisted as a Private. Which rank did he reach?
When did Douglas Engelbart hold a demonstration at the Fall Joint Computer Conference in San Francisco where he displayed mouse and other inventions?
Which country is to the east of Alaska?
Which of the following books was written by Mark Twain?
When did Illinois become a state of USA?
Which ocean is to the west of Washington?
What did Glenn Theodore Seaborg, Arthur Wahl and Joseph Kennedy produce and identify on 23 February 1941?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact