Question Set

1. Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified?






Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->A pendulum clock is set to give correct time at the sea level. This clock is moved to a hill station at an altitude of 2500m above the sea level. In order to keep correct time on the hill station, the length of the pendulum?....
QA->Correct sentences among the following are: ) The tea is too hot that I cannot drink (2) Work hard, lest you should miss the chance (3) Unless you study well, you will fail (4) Unless you study well, you will pass....
QA->A decision which cannot be changed or modified....
QA->A file that is saved so it cannot he modified is called?....
QA->All are of one Self-fraternity such being the dictum to avow, In such a light how can we take life And devoid of least pity go on to eat.who said?....
MCQ->Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified?....
MCQ->Which of the following statements are correct? We can assign values of any type to variables of type object. When a variable of a value type is converted to object, it is said to be unboxed. When a variable of type object is converted to a value type, it is said to be boxed. Boolean variable cannot have a value of null. When a value type is boxed, an entirely new object must be allocated and constructed.....
MCQ->Which of the following statements are correct about an enum used inC#.NET? By default the first enumerator has the value equal to the number of elements present in the list. The value of each successive enumerator is decreased by 1. An enumerator contains white space in its name. A variable cannot be assigned to an enum element. Values of enum elements cannot be populated from a database.....
MCQ->Match the following: List I (Set operation) List II (Set operator)A.Set equality1.-B.Set inclusion2.=C.Set intersection3.< =D.Set difference4.∗

....
MCQ->Which of the following statements are correct about the structure declaration given below? struct Book { private String name; protected int totalpages; public Single price; public void Showdata() { Console.WriteLine(name + " " + totalpages + " " + price); } Book() { name = " "; totalpages = 0; price = 0.0f; } } Book b = new Book(); We cannot declare the access modifier of totalpages as protected. We cannot declare the access modifier of name as private. We cannot define a zero-argument constructor inside a structure. We cannot declare the access modifier of price as public. We can define a Showdata() method inside a structure.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution