|
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 Arthur Miller write Death of a Salesman?
For what did Albert Abraham Michelson win Nobel Prize for Physics?
Which river separates Nebraska from Iowa and Missouri?
When did Shirley Temple write Child Star?
When did the Supreme Court of USA announce its decision in the case of Dred Scott?
When was Lyndon Johnson first sworn in as President of USA?
Which city did James Pritchard identify with el-Jib?
What is the surname of the characters Fanny, Zooey and Seymour, created by Jerome David Salinger?
Who won USA Presidential Election 2008?
When did William Bradford Shockley join Bell Telephone Laboratories?
When was Arkansas separated from Missouri?
What was James Madison’s occupation?
Who founded the city of St. Augustine?
Which university did Norman Mailer attend?
When was Frank Kellogg born?
What personal tragedy took place in the life of Charles Lindbergh in 1932?
Under whom did Norbert Wiener study mathematical logic at Cambridge?
In which battle did Andrew Jackson defeat the British?
Which school did Barbara Tuchman attend?
Which novel was based on Norman Mailer’s participation in peace demonstrations of 1967?
What was Benjamin Harrison’s rank when he led the 70th Indiana Regiment?
When did Edgar Lawrence Doctorow write Ragtime?
Where did Gerald Ford die?
What is the area of Nebraska?
Who was New Sweden’s governor in 1643-1653?
When was the Sack of Lawrence?
Which Lydia Maria Child book was published in 1878?
Which is Colorado’s state flower?
When did Walter Houser Brattain leave Bell Telephone Laboratories?
Which ocean is to the west of California?
Who was overthrown and assassinated in Chile in 1973?
How long was Amelia Earhart’s solo flight from Newfoundland to Ireland in 1932?
Which is the capital of Nevada?
Who was the first English child born in the Americas?
Where are the headquarters of CIA?
Where was Albert Abraham Michelson born?
Where did Lew Wallace die?
When was Texas part of Confederacy?
Which state is to the south of South Dakota?
Which Norman Mailer novel was on CIA?
When was John Qunicy Adams Minister to Russia?
When did John Bardeen first win Nobel Prize for Physics?
Where did Max Weber die?
What was Mary Astor’s original name?
At which university did George Herbert Hitchings get master’s degree?
What was the significance of the day when Thomas Jefferson died?
What was Judy Garland’s role in The Wizard of Oz?
Which of the following is Isaac Asimov’s contribution to science fiction?
To which political party did Grover Cleveland belong?
Which line separates Kentucky from Tennessee?
When did Martin Luther King visit India?
When was Millard Fillmore born?
Which is the highest point in Pennsylvania?
Who were runners up in women’s doubles championship in US Open 2015?
What does Puerto Rico mean?
Which was Jackie Collins’ most successful novel?
When did Flannery O’Connor die?
When was Pancho Barnes born?
What is the motto of Connecticut?
When did the British solicitor general attack Benjamin Franklin before the Privy Council?
When did John Harvey Kellogg become superintendent of Seventh-day Adventist Western Health Reform Institute?
Who were James Garner’s co-stars in The Children’s Hour?
Which is the capital of Colorado?
Which novel did Jackie Collins publish in 1975?
Which tree appears on South Carolina’s flag?
Who was Kansas’ governor in 1933-1937?
Where did Henry David Thoreau die?
When was Lyndon Johnson born?
What did Yogi Berra say in July 1973 when his New York Mets trailed Chicago Cubs by 91/2 games?
When did Ohio become a state of USA?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact