|
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.) A Student class has a property called rollNo and stu is a reference to a Student object and we want the statement stu.RollNo = 28 to fail. Which of the following options will ensure this functionality?
1)
Declare rollNo property with only set accessor.
2)
Declare rollNo property with both get and set accessors.
3)
Declare rollNo property with only get accessor.
4)
Declare rollNo property with get, set and normal accessors.
5)
NULL
Answer :
3
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)
When did Frank Kellogg win Nobel Prize for Peace?
Which state is to the east of Vermont?
When did Norman Mailer write The Gospel According to the Son?
What is the area of Florida?
Under whom did Frank Lloyd Wright work in 1887-1893?
When was James Fenimore Cooper born?
Where was Wallis Warfield born?
Where was William Taft sent as Chief Civil Administrator?
When was Apollo 11 launched?
Which is the capital of Colorado?
Which is Utah’s state bird?
Why did Arthur Ashe establish Arthur Ashe Foundation?
When did Melvin Schwartz die?
When was the Treaty of Guadalupe Hidalgo signed?
When did John Bardeen win Nobel Prize for Physics for the second time?
When did Montana become a state of USA?
Which state is to the east of Connecticut?
Where was Jack Kilby born?
When did John Bardeen die?
For what did Gertrude Belle Elion win Nobel Prize?
When was Judy Garland married to Vincente Minnelli?
Of which dynasty was James Monroe said to be the last President?
Which state is to the south of Vermont?
When was Amelia Earhart declared legally dead?
Where was John Bardeen born?
Where was Anne Spencer Morrow born?
Who jailed Henry David Thoreau for not paying poll tax?
Who was FBI Director from 1924 to 1972?
Where was Henry Louis Mencken born?
What was the name of the aeroplane on which Charles Lindbergh undertook his historic solo New York – Paris flight?
Which State had James Polk as its Governor?
Which college did Martin Luther King attend?
What is the area of Iowa?
Who had the longest tenure as President of USA?
What is tesla, named after Nikola Tesla?
Where did Charles Lindbergh die?
When did Dwight Eisenhower die?
Who surrendered Detroit to the British in the War of 1812?
When was George Westinghouse born?
Who were James Garner’s co-stars in The Children’s Hour?
Which is the highest point in Texas?
Who was the Republican Party’s candidate for President for USA Presidential Election 2012?
Which High School did Margaret Mitchell attend?
Which is Wisconsin’s state bird?
Whose portrait appears on $10,000 note?
What was Barbara Tuchman’s original name?
2Who is the first citizen of USA to be canonised?
When was Rocky Mountain National Park established?
Which state is to the west of Connecticut?
Who was New York’s first governor after independence?
Which story first brought fame to Mark Twain?
From which institute did John Nash receive his bachelor’s and master’s degrees?
What is the motto of Rhode Island?
When was Henry David Thoreau born?
Of which State was Thomas Jefferson the Governor in 1779-1781?
Which is the highest point in Utah?
What was James Garner’s role in the TV serial The Rockford Files?
Which county is to the north of Minnesota?
When was the University of Pennsylvania founded?
When did William Bradford Shockley write Electrons and Holes in Semiconductors?
Who sculpted the faces of George Washington, Thomas Jefferson, Abraham Lincoln and Theodore Roosevelt on Mount Rushmore?
Who won USA Presidential Election 2012?
What did Edwin Hubble study at Oxford?
Whose portrait appears on $1,000 note?
When did Robert Kennedy die?
Which is the capital of Connecticut?
After whom was Georgia named?
What position was held by Martin Van Buren in 1815-1819?
Whose portrait appears on $5 note?
Which is the capital of Virginia?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact