|
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 Henry David Thoreau die?
How long was Amelia Earhart’s solo flight from Newfoundland to Ireland in 1932?
What was Gerald Ford’s name at the time of his birth?
Where was John Bardeen a professor of electrical engineering and physics?
When did Clyde William Tombaugh publish The Search for Small Natural Earth Satellites?
Which state did Robert Kennedy represent in US Senate?
Who was Frank Lloyd Wright’s third wife?
Where was Norbert Wiener born?
For what did Walter Houser Brattain win Nobel Prize for Physics?
When did Walter Houser Brattain die?
When did Glenn Theodore Seaborg publish A Chemist in the White House?
Who of the following presidents of USA was not born in Virginia?
What did Albert Abraham Michelson measure?
Where was James Garner born?
When did Barbara Tuchman die?
Which State joined USA in 1836?
When did Lew Wallace publish The Prince of India?
Who designed Iowa’s flag?
Who got the charter for founding Georgia?
When was Ellsworth Huntington born?
Which college did Norbert Wiener attend?
Where did Jack Kilby work in 1947-1958?
Which disease afflicted Chester Alan Arthur?
Which is Ohio’s state flower?
Which is the capital of Texas?
Where did Zachary Taylor receive his first commission as an officer?
When did James Garner marry Lois Clarke?
When was William Henry Harrison Minister to Colombia?
What was the worth of merchandise paid by Peter Minuit for purchase of Manhattan Island?
Who is the main character in Leatherstoking novels?
When was St. John Neumann ordained a priest?
What was William Henry Harrison’s profession?
Who won men’s doubles championship in US Open 2015?
When did Arthur Ashe address UN General Assembly?
Who sculpted the Statue of Liberty?
When was Benjamin Harrison born?
Which Act signed by Chester Alan Arthur was USA’s first civil service law?
Who was Shirley Temple’s co-star in The Little Colonel?
Under whom did Frank Lloyd Wright work in 1887-1893?
Who of the following presidents of USA was not born in Massachusetts?
What is the motto of Idaho?
Which is the capital of Michigan?
1Which country has the highest number of Jews?
When was the Grito de Lares?
From which university did Jack Kilby obtain his Master of Science in Electrical Engineering degree?
1Which is the tallest building in USA?
Which school did Ira Levin attend?
Which state is to the east of North Dakota?
Who won USA Presidential Election 2012?
Where was Ellsworth Huntington born?
Where did Edith Wharton die?
Which state is to the west of Virginia?
From which university did John Nash receive his doctorate in mathematics?
Which is North Dakota’s state bird?
When was Arthur Miller born?
Which was Lydia Maria Child’s first novel?
When was Martin Luther King born?
When was Lew Wallace born?
Who was the British explorer killed at Kealakekua Bay on 14 February 1779?
Which college did William McKinley attend?
Where did Isaac Asimov die?
What did Millard Fillmore say when he refused an honorary degree of Doctor of Civil Law from Oxford?
When did Norman Mailer die?
To which political party did Dwight Eisenhower belong?
Where was St. John Neumann born?
Who is the first woman journalist to interview John Qunicy Adams as President of USA?
Who was the President when James Madison was Secretary of State?
To whom was Thomas Paine aide-de-camp?
When was Benjamin Harrison sworn in as President of USA?
Which state is to the south of Washington?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact