Q.27 In Java, access to a private member of a class is granted only to
Asked in HPSC to Final Answer Key of the Master Question Booklet of Screening Test - Assistant Professor (College Cadre) - Computer Science (Advt. No. 45/) in Higher Education Department, Haryana 2024
Answer under review: our editors are checking this question. Try the other HPSC Prelims previous year questions questions meanwhile.
More HPSC Prelims previous year questions questions
- Q.28 Consider the following two statements : Statement I : The ternary operator in C requires 4 operands. Statement II : The operator + in C may be either unary or binary. In light of the above statements, choose the Correct answer from the options given below :
- Q.29 Which phase of a compiler has the main role of generating a sequence of tokens from the input source program?
- Q.30 The goal of ______ testing is to test the internal logic of the modules.
- Q.31 A NAND gate is equivalent to a
- Q.32 Polymorphism in C++ is implemented using
- Q.33 Choose the correct HTML tag for a large title.
- Q.34 Consider the following two statements : Statement I : The while (37) printf ("message\n"); statement in C will print the message 37 times. Statement II : The while loop in C is an entry-controlled loop, and if the condition is initially false, the loop body will not execute at all. In light of the above statements, choose the Correct answer from the options given below :
- Q.35 Peterson’s solution is a classic software-based solution to the critical-section problem. What is the maximum number of processes to which it is restricted ?