|
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 Employee class has a property called age and emp is reference to a Employee object and we want the statement Console.WriteLine(emp.age) to fail. Which of the following options will ensure this functionality?
1)
Declare age property with only set accessor.
2)
Declare age property with only get accessor.
3)
Declare age property with get, set and normal accessors.
4)
Declare age property with both get and set accessors.
5)
NULL
Answer :
1
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)
Which state is to the east of Washington?
When did Maryland cede the District of Columbia?
Where did Warren Gamaliel Harding die?
Which post was held by John Qunicy Adams in 1797-1801?
Which treaty ended boundary dispute with Canada?
When was Mary Astor born?
When was James Buchanan sworn in as President of USA?
Which bank’s charter expired in 1836?
Which state is to the north of California?
When did Idaho become a state of USA?
When did California become a state of USA?
Of which movement was Nathaniel Hawthorne a member for some time?
Who was Vice President during the first term of Thomas Jefferson as President?
When was William Henry Harrison Minister to Colombia?
Which thesis did John Nash publish for his doctorate?
Who was Tennessee’s first governor?
Which university did Melvin Schwartz attend?
Which state is to the east of Nevada?
Which state is to the north of Mississippi?
Who was the Vice President when George Washington was the President?
As a river term how deep is Mark Twain?
To which political party did Dwight Eisenhower belong?
Which territory was purchased by USA from France in 1803?
Which book of Washington Irving has the story of Rip Van Winkle?
Who was Virginia’s governor in 1642-1652?
When was John F. Kennedy sworn in as President of USA?
Whose portrait appears on $10 note?
Which country’s army was defeated by Zachary Taylor at Buena Vista?
Where was Yogi Berra born?
When did Richard Nixon die?
Under whom did Frank Lloyd Wright work in 1887-1893?
Which state is to the south of Georgia?
When was Grover Cleveland first sworn in as President of USA?
When did Colorado become a state of USA?
Who was elected Delaware’s governor in 2001?
Which is the highest point in Rhode Island?
When did Lynette Fromme try to kill Gerald Ford?
Which book of Norbert Wiener was published in 1956?
Which state is to the west of North Dakota?
Whom did John F. Kennedy marry?
What caused William Henry Harrison’s death?
Which river separates Arizona from California and Nevada?
Which is the capital of Oregon?
How many times did Martin Van Buren run for re-election as President of USA?
When was Abraham Lincoln born?
When did Christopher Columbus claim Puerto Rico for Spain?
1How much is a dime?
Which college did John Tyler attend?
Which of the following medals did Norbert Wiener receive in 1956?
Which party was formed by Theodore Roosevelt and his supporters in August 1912?
Which university did William Bradford Shockley attend?
When was Gertrude Belle Elion born?
When did Walter Houser Brattain die?
How long was William Henry Harrison President of USA?
What is the number of states in USA?
2Who has done the role of American President in the film Independence Day?
When did William Taft die?
Where was Jack Kilby born?
When was St. John Neumann born?
What was Jesse Owens’ name at the time of his birth?
Which is Wisconsin’s state bird?
Who won women’s singles championship in US Open 2015?
Which university was founded as school by St. Katharine Drexel in 1915?
Who of the astronauts of Apollo 11 did not land on the moon?
Who led an expedition in Alabama in 1540 in search of gold?
Who was New York’s first governor after independence?
What was Michael Crichton’s first name?
Which was Lauren Bacall’s first film?
Which of the following applies to Zachary Taylor?
When was Apollo 11 launched?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact