|
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?
Which of the following terrorist groups tried to stop blacks from participating in the society during the Presidency of Ulysses Grant?
When did Elizabeth Taylor die?
Which is Wisconsin’s state tree?
Which state had Warren Gamaliel Harding as its Lieutenant Governor?
Which law firm did Chester Alan Arthur join?
Where did Jerome David Salinger die?
Who broke the tie in Delaware delegation and cast his vote for independence?
When was Gerald Ford sworn in as President of USA?
When did Christopher Columbus claim Puerto Rico for Spain?
Why did Arthur Ashe establish Arthur Ashe Foundation?
What is the motto of Maine?
When was the voting day for USA Presidential Election 2008?
When was Illinois separated from Indiana?
When did Frank Lloyd Wright die?
When did Martin Luther King visit India?
Who was the first European to sight the Grand Canyon?
Which college did John Tyler attend?
Where was St. John Neumann born?
Where was Jack Kilby born?
Who designed Indiana’s flag?
When was Elizabeth Female Academy founded?
Who won the first Boston Marathon?
Where was Irving Berlin born?
Who founded Arkansas Post?
When was Truman Capote born?
When did Oregon become a state of USA?
What caused Benjamin Harrison’s death?
When was David Wark Griffith married to Evelyn Baldwin?
To which party did Robert Kennedy belong?
When did Walter Houser Brattain win Nobel Prize for Physics?
When was Clyde William Tombaugh born?
Which college did Calvin Coolidge attend?
Where did Albert Abraham Michelson die?
Who was Wisconsin’s governor in 1901-1906?
Where was Franklin Pierce born?
What does the woman in the Statue of Liberty hold in her left hand?
Which Michael Crichton novel is about sexual harassment of a man by a woman?
When did the Supreme Court of USA declare segregation in public schools unconstitutional?
Which is the capital of New Jersey?
Which university did Henry David Thoreau attend?
Which state is to the north of South Dakota?
Which ocean is to the south of Missouri?
When was Abraham Lincoln born?
For how much did William Randolph Hearst sell New York Journal?
When did Indiana become a state of USA?
Where did Arthur Ashe die?
Where did George Westinghouse die?
Where was Norman Cousins born?
Who of the following presidents of USA was not born in Virginia?
Where did Lyndon Johnson teach?
For what did Melvin Schwartz first win Nobel Prize for Physics?
When did Charles Lindbergh undertake his historic solo New York – Paris flight?
How much time did Jesse Owens take to win 200m race in Berlin Olympics 1936?
Which university did Franklin Roosevelt attend?
When was Jamestown founded?
Which territory was ceded by Spain to USA in 1819?
Where did Charles Lindbergh die?
Who defeated John Qunicy Adams in the Presidential Election of 1828?
For what did Eugene Paul Wigner win Nobel Prize for Physics?
To which political party did Franklin Pierce belong?
Where was Norman Cousins adjunct professor?
When did William Bradford Shockley join Bell Telephone Laboratories?
Which college did William Henry Harrison attend?
When was Judy Garland married to Vincente Minnelli?
When did North Dakota become a state of USA?
Where was Neil Armstrong born?
What is the motto of Iowa?
On 29 May 1962 Marilyn Monroe sang “Happy Birthday to You Mr. President”. Who was the President?
Who led an expedition for the Seven Golden Cities of Cibola?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact