|
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)
Which magazine did Norman Cousins edit in 1942-1972?
When was the voting day for USA Presidential Election 2008?
Which is the highest point in Oregon?
Which of the following books was published by Theodore Roosevelt in 1885?
Which is the highest point in North Carolina?
Which is the capital of Iowa?
Which Slave State was admitted to USA in 1820?
Where was Isaac Asimov born?
Where did Lew Wallace practice law?
Which bill vetoed by Andrew Johnson in 1866 was overridden by Congress by two thirds majority, the first in American history?
To whom was Samuel Phillips Huntington adviser during the 1968 presidential campaign?
When did George Herbert Hitchings get Nobel Prize for Medicine?
Who was Mary Astor’ co-star in Beau Brummell?
Which is the highest point in Wisconsin?
Which state is to the east of Oregon?
The Republicans disputed the results in four states. Which state soon decided in favour of Republicans?
Who was Florida’s secretary of state in 2000?
What did James Abram Garfield want to become?
Which state is to the west of Utah?
Where was Maria Goeppert born?
When did Norman Mailer write The Naked and the Dead?
Which is the capital of Florida?
Who dedicated the Statue of Liberty?
Where did Clyde William Tombaugh serve as optical physicist and astronomer?
Who founded Holly Springs?
Whom did Eugene Paul Wigner help to construct the first atomic pile?
When was Norman Mailer born?
Which state is to the south of Minnesota?
Which was Lydia Maria Child’s first novel?
Where did Neil Armstrong die?
Where was William McKinley born?
At which university did George Herbert Hitchings get master’s degree?
Where did Lauren Bacall die?
Which state is to the east of Vermont?
When was Frank Kellogg Secretary of State of USA?
Which is the capital of Utah?
For which film did Marilyn Monroe get Golden Globe Award for Best Actress in a Comedy?
When was Jackie Collins married to Wallace Austin?
When was Ulysses Grant born?
Which is the highest point in Idaho?
Against which country war was declared by USA in 1812?
Where was John Bardeen a professor of electrical engineering and physics?
Where was Lydia Maria Child born?
Where did Lew Wallace die?
Who was Tennessee’s first governor?
Who was arrested on 1 December 1955 for defying bus segregation?
When was Kingston capital of New York?
Who was Alaska’s governor in 2008?
Which story first brought fame to Mark Twain?
When did John Harvey Kellogg open Miami-Battle Creek Sanitarium?
In which film did Marilyn Monroe played the character of Claudia Caswell?
To which political party did James Madison belong?
Where was Lauren Bacall born?
When did Glenn Theodore Seaborg publish A Chemist in the White House?
To whom was Judy Garland married in 1952-1965?
Which country is to the north of New York?
When was silver found in Comstock Lode?
When did Benjamin Franklin become a member of the Pennsylvania Assembly?
Which is the capital of Ohio?
Which of the following did Henry Louis Mencken attend?
When was Grover Cleveland born?
Where did Winston Churchill make his famous Iron Curtain speech?
Which is the starting point of Boston Marathon?
When did John Bardeen win Nobel Prize for Physics for the second time?
Which college did John Harvey Kellogg found?
When did Christopher Columbus claim Puerto Rico for Spain?
Who of the following presidents of USA was born in Vermont?
When was the Treaty of Guadalupe Hidalgo signed?
When did Max Weber paint The Geranium?
To which political party did Dwight Eisenhower belong?
Managed Services By:
www.upscgk.com
Home
About us
Services
Terms
Team
Sitemap
Contact