|
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 William Bradford Shockley win Nobel Prize for Physics?
Who was runner up in men’s singles championship in US Open 2015?
When was Richard Nixon first sworn in as President of USA?
Which bird appears on Iowa’s flag?
When was the Third Seminole War?
When was David Wark Griffith married to Evelyn Baldwin?
Which college did Warren Gamaliel Harding attend?
When was Arthur Miller born?
Who of the following presidents of USA was not born in Ohio?
Who founded Caparra?
When did Irving Berlin found Irving Berlin Music Corporation?
When was George Washington born?
Where was Martin Luther King born?
What was Gerald Ford’s name at the time of his birth?
Where did Winston Churchill make his famous Iron Curtain speech?
Where did Andrew Jackson spend his years of retirement?
When did Illinois become a state of USA?
Where was Harry Truman born?
Which country’s army was defeated by Zachary Taylor at Buena Vista?
When was Edwin Hubble born?
Who surrendered to Ulysses Grant at Appomattox Guest House on 9 April 1865?
Which state is to the north of Kansas?
When was Wallis Warfield born?
Which city is close to the Garden of the Gods?
Which college did Chester Alan Arthur attend?
When did West Virginia become a state of USA?
When was St. John Neumann consecrated a bishop?
When did Norbert Wiener die?
Where did Edith Wharton die?
What was Truman Capote’s original name?
Which is the highest point in South Dakota?
Where was Washington Irving born?
When was James Fenimore Cooper born?
Who issued the charter to establish the colony of Carolina?
What was Judy Garland’s original name?
When did Missouri become a state of USA?
Which is the largest lake in Maine?
When did St. John Neumann die?
Who was Frank Sinatra’s co-star in The Manchurian Candidate?
When did Albert Abraham Michelson die?
Which of the following applies to John Tyler?
Where did Walter Houser Brattain serve as adjunct professor in 1967-1972?
What is the motto of New Jersey?
Where did John Harvey Kellogg die?
At which university did Isaac Asimov teach?
To which political party did Thomas Jefferson belong?
What was Millard Fillmore’s profession?
When did the terrorists destroy twin towers of World Trade Center?
Who of the following was not an astronaut on Apollo 11?
1Abraham Lincoln was shot on 14 April 186It was _____.
When did Maria Goeppert Mayer die?
When was Illinois separated from Indiana?
Which country is to the east of Alaska?
Who designed the pedestal of the Statue of Liberty?
Which is the highest point in Virginia?
Where was James Abram Garfield born?
When did Ira Levin serve in Army Signal Corps?
Who of the following authors was a class mate of Franklin Pierce?
What does Boston Marathon honour?
Who seized the federal armoury at Harpers Ferry on 16 October 1859?
Which post was held by William Taft in 1921-1930?
When did Jacqueline Kennedy Onassis die?
In which book did Edith Wharton acknowledge her debt to Henry James?
At which university did George Herbert Hitchings get master’s degree?
When was Robert Lee defeated at Gettysburg?
Which is the highest point in Minnesota?
Who of the following presidents of USA was born in Hawaii?
Who was New Sweden’s governor in 1643-1653?
William McKinley was shot on 6 September 190When did he die?
When did Samuel Phillips Huntington director of Center for International Affairs?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact