|
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)
How many electoral votes did Theodore Roosevelt get in Presidential Election 1912?
When did Apollo 11 return to the earth?
When did John Nash win Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel?
Which college did Margaret Mitchell attend?
What is the motto of Rhode Island?
Which is Ohio’s state tree?
Which is Minnesota’s state bird?
Which Sinclair Lewis book is about Fascist takeover of USA?
Where did Louisa May Alcott die?
How many popular votes did Samuel Tilden get in the Presidential Election 1876?
When did Ohio become a state of USA?
Where did Shirley Temple die?
Which book of Norman Cousins was based on his experience of a life-threatening illness?
When was Louisa May Alcott born?
Which political party expelled John Tyler?
Who designed Iowa’s flag?
When was Norman Mailer born?
Which event took place on 24 August 1814?
Which family owned Maryland?
When did Joseph Pulitzer buy New York World?
Which Act established CIA?
Which is the highest point in Idaho?
Which of the following is Isaac Asimov’s contribution to science fiction?
Which university was founded as school by St. Katharine Drexel in 1915?
Who surrendered Detroit to the British in the War of 1812?
Who won mixed doubles championship in US Open 2015?
When was Harry Truman born?
Where did John Bardeen die?
What is the motto of North Dakota?
For what did Walter Houser Brattain win Nobel Prize for Physics?
Which city is considered the geographic centre of North America?
Where was Richard Buckminster Fuller research profession in 1959-1968?
Which is the capital of Montana?
Which magazine did Henry Louis Mencken co-edit in 1914-1923?
Which is the capital of Ohio?
When did Wisconsin become a state of USA?
Who wrote “All modern American literature comes from one book by Mark Twain called Huckleberry Finn…”?
Whose portrait appears on $10 note?
From which university did John Nash receive his doctorate in mathematics?
Where did Pancho Barnes buy a ranch in 1933?
Where did Frank Kellogg die?
Who was Alaska’s governor in 2008?
Which company did George Westinghouse found in 1881?
Which state is to the east of Arizona?
After whom was Georgia named?
When did Anne Spencer Morrow marry Charles Lindbergh?
Where was Judy Garland born?
What was Flannery O’Connor’s first name?
Who won men’s singles championship in US Open 2015?
Where is John F. Kennedy Space Centre?
Who was Vice President when Millard Fillmore was President?
Which State did Andrew Jackson represent as its first Congressman?
Where was Elizabeth Taylor born?
How many times did Martin Van Buren run for re-election as President of USA?
Who founded Detroit?
Who defeated John Qunicy Adams in the Presidential Election of 1828?
When was Little Women published?
Who received the charter for Maine in 1639?
When was the first edition of Ancient Near Eastern Texts Relating to the Old Testament published?
Where did Emma Lazarus die?
Which is the highest point in Tennessee?
What does Puerto Rico mean?
When did Melvin Schwartz found Digital Pathways, Inc.?
Which river separates Arizona from California and Nevada?
Which book of Norbert Wiener was published in 1956?
When was Elizabeth Female Academy founded?
Which seminary did Martin Luther King attend?
To which political party did James Polk belong?
Which was David Wark Griffith’s first film as an actor?
When was James Garner born?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact