|
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)
Where was John Bardeen a professor of electrical engineering and physics?
When did Amelia Earhart buy her first plane?
Which film is based on John Nash?
What does Puerto Rico mean?
Where did Robert Lee surrender on 9 April 1865?
What did Ulysses Grant want to become?
2Who is the first citizen of USA to be canonised?
When was James Abram Garfield born?
When did Frank Kellogg win Nobel Prize for Peace?
Which of the following was considered a swing state in USA Presidential Election 2012?
To whom was Samuel Phillips Huntington adviser during the 1968 presidential campaign?
Which boat was commanded by John F. Kennedy during World War II?
Which state is to the east of Alabama?
What was Pancho Barnes’s original name?
Who was elected Connecticut’s governor in 1974?
How many States were in USA when James Monroe ceased to be President?
Which is the capital of Missouri?
When did Walter Houser Brattain join Bell Telephone Laboratories?
Where was Max Weber born?
Which state is to the south of Georgia?
Where did Lew Wallace die?
Where did Thomas Paine die?
When did Ira Levin write A Kiss Before Dying?
When did Mary Astor write A Life on Film?
What was Lew Wallace’s real name?
Where did Jack Kilby die?
When was James Buchanan born?
Which is the largest lake in Idaho?
When did Ohio become a state of USA?
Which Act’s defence by William Taft alienated many Republicans?
When did Jacqueline Kennedy marry Aristotle Socrates Onassis?
Which film made Elizabeth Taylor a star?
What did Neil Armstrong say when he landed on the moon?
Whom did Dwight Eisenhower appoint as the head of French North Africa?
Which novel won Margaret Mitchell Pulitzer Prize in 1937?
Which is the capital of Illinois?
Where was Neil Armstrong professor of aerospace engineering?
Who was California’s governor in 1966-1974?
When did Gertrude Belle Elion get Nobel Prize for Medicine?
When did Richard Nixon resign as President of USA?
Which is the highest point in Virginia?
When did John Harvey Kellogg become superintendent of Seventh-day Adventist Western Health Reform Institute?
Which college did Frances Clara Folsom attend?
Who was sworn in as FBI Director on 9 July 1973?
What was Marilyn Monroe’s character in Niagara?
When did Dwight Eisenhower die?
Where did Gerald Ford die?
Whose record did Pancho Barnes break in Women’s Air Derby in 1930?
What was Mary Astor’s original name?
Which of the following books was published by Theodore Roosevelt in 1885?
Who was the first woman to complete Boston Marathon?
In which film did Marilyn Monroe played the character of Claudia Caswell?
When did Oregon become a state of USA?
Which state is to the south of South Dakota?
Where was Eugene Paul Wigner a professor in 1938-1971?
When did California become a state of USA?
Which state is to the east of Minnesota?
What was John Tyler’s rank in the military in the War of 1812?
Which country is to the east of Alaska?
Which Jackie Collins novel is the longest?
Which college did Martin Luther King attend?
For what did Jack Kilby win Nobel Prize for Physics?
Who is the main character in Leatherstoking novels?
Who was Shirley Temple’s co-star in The Little Colonel?
When was George Washington born?
Which college did James Abram Garfield attend?
Which of the following colonies was acquired by USA in 1898?
What was Truman Capote’s original name?
Which is the capital of New York?
Where did Truman Capote die?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact