|
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)
Where did Barbara Tuchman die?
What is the motto of New Jersey?
When was the annexation of Texas?
Which battle did Robert Lee win on 29-30 August 1862?
Where did Max Weber die?
When did Arthur Ashe address UN General Assembly?
Which is Minnesota’s state bird?
In which of the following countries did Herbert Hoover work as engineer?
Who founded Holly Springs?
Where was James Fenimore Cooper born?
When did Utah become a state of USA?
When was The Clash of Civilizations and the Remaking of World Order published?
Which state is to the west of Kansas?
To whom did Emma Lazarus dedicate Admetus and Other Poems?
Which is the capital of Pennsylvania?
Who won men’s singles championship in US Open 2015?
Which company wanted to establish Kentucky as 14th colony?
Which is the highest point in Rhode Island?
When did St. John Neumann die?
Where did John Bardeen die?
What is the motto of Illinois?
What is the number of states in USA?
When did Washington Irving write Bracebridge Hall?
When did George Herbert Hitchings get Nobel Prize for Medicine?
Where did Frank Sinatra die?
When did Henry David Thoreau die?
When was Edith Wharton born?
When was James Polk the Speaker of the U.S. House of Representatives?
What was Sinclair Lewis’ full name?
Where in March 1942 was Dwight Eisenhower sent as head of European Theatre of Operations?
Which is the highest point in Arizona?
Why did Arthur Ashe establish Arthur Ashe Foundation?
What did Calvin Coolidge say to a woman who said she had a bet that she would make him say at least three words?
Where was Chester Alan Arthur born?
What personal tragedy took place in the life of Charles Lindbergh in 1932?
Which magazine did Lydia Maria Child found and publish?
Who was the Democratic Party’s candidate for President for USA Presidential Election 2008?
Which river separates Nebraska from Iowa and Missouri?
Where was George Washington born?
Which was CIA’s first public setback?
When was Nikola Tesla born?
Which of the following novels is not a sea novel?
What is the surname of the characters Fanny, Zooey and Seymour, created by Jerome David Salinger?
When did Louis Jolliet visit Illinois?
Who of the following presidents of USA was born in New Hampshire?
What is minimum number of electors a state of USA has in Electoral College for USA Presidential Election 2008?
When did Richard Buckminster Fuller invent Dynamxion house?
Who of the following fell down due to the impact of bomb blast and then got up and completed the race during Boston Marathon 2013?
How is Abraham Lincoln’s life described?
Which date is considered the founding of FBI?
When was Abraham Lincoln born?
In which of the following films Richard Burton was not Elizabeth Taylor’s co-star?
What was Ulysses Grant’s first name when he was born?
Where was Eli Wallach born?
When was Haymarket Riot?
Where was William Taft sent as Chief Civil Administrator?
Where did Lauren Bacall die?
Where did Amelia Earhart work as a military nurse?
When did Martin Luther King get Nobel Prize?
Which college did Lyndon Johnson attend?
Which city is close to the Garden of the Gods?
Who was President when Millard Fillmore was Vice President?
1Which is the 49th State of USA?
Which state is to the south of Washington?
Where did George Herbert Hitchings die?
What did John F. Kennedy say in France?
Who was the Vice President when George Washington was the President?
Which of the following Acts was passed when Franklin Pierce was President?
When did Emma Lazarus write the sonnet The New Colossus?
Which book of Henry Louis Mencken was published in 1943?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact