|
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 corporation stripped John Nash of top secret security clearance and fired him as consultant?
When was John Tyler Member of Confederate States Congress?
To which political party did Dwight Eisenhower belong?
Which codes allowed southern states to maintain slavery by another name?
Which river is formed by the joining of the Coosa and Tallapoosa rivers?
Which is North Carolina’s state flower?
Where was Irving Berlin born?
Which state is to the east of Tennessee?
How much time did Jesse Owens take to win 200m race in Berlin Olympics 1936?
When was the Battle of Mobile Bay?
When was Michigan separated from Indiana?
When was John Harvey Kellogg born?
When was Samuel Tilden born?
Which college did William Henry Harrison attend?
Which college did Anne Spencer Morrow attend?
When was Henry Louis Mencken born?
Where was Albert Abraham Michelson professor of physics in 1889-1992?
Where did Arthur Ashe die?
How 29 October 1929 came to be known in USA?
Where was John Bardeen born?
When was Ira Levin born?
Which was Emma Lazarus’ last book?
To whom was Judy Garland married in 1952-1965?
Which state is to the south of Iowa?
Which of the following books was published by Theodore Roosevelt in 1885?
What is the motto of Massachusetts?
Which is West Virginia’s state flower?
Where was Harry Truman born?
Which state is to the north of Kansas?
Where did Harry Truman serve in 1905-1911?
When did Jerome David Salinger die?
Who founded Detroit?
When did Yogi Berra marry Carmen?
Where was Charles Lindbergh born?
Which war did the newspapers of Joseph Pulitzer and William Randolph Hearst espouse?
Which painting did Max Weber paint in Cubist manner?
What did George Westinghouse promote in electricity transmission?
What is the motto of Nebraska?
Which is the capital of New Hampshire?
Which state is to the north of Indiana?
Who broke the tie in Delaware delegation and cast his vote for independence?
Which is the highest point in California?
When did Robert Lee die?
When did Robert Kennedy die?
When did Glenn Theodore Seaborg win Nobel Prize for Chemistry?
Who founded Hartford?
How much time did Jesse Owens take to complete his leg 400m relay in Berlin Olympics 1936?
Where was St. John Neumann born?
After the 1860 USA Presidential Election which state first left USA?
When did Calvin Coolidge die?
Which state is to the south of North Dakota?
Which novel did Jackie Collins publish in 1975?
Who is the school teacher in The Legend of Sleepy Hollow?
2USA fought with which country in 1898?
Abraham Lincoln was shot on 14 April 186What was the significance of that day?
When did Shirley Temple write Child Star?
Which Louisa May Alcott novel was published in 1877?
When did James Pritchard publish Solomon and Sheba?
Which state is to the north of Mississippi?
When did Max Weber die?
When was the Sack of Lawrence?
Who presented the Union Jack to Kamehameha I in 1793?
Which State of USA was once part of Mexico?
Where did Jacqueline Kennedy Onassis die?
Where was William Taft sent as Chief Civil Administrator?
What was James Garner’s role in the TV serial The Rockford Files?
Which State had John Tyler as its Governor?
When was Harry Truman first elected to USA Senate?
Who won women’s doubles championship in US Open 2015?
When did Michigan become a state of USA?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact