Important Questions [12]
- Name Any Two Basic Principles of Object-oriented Programming.
- Name Any Two Oop’S Principles.
- What Are Identifiers?
- What Are Keywords ? Give an Example.
- Name the Type of Error ( Syntax, Runtime Or Logical Error) in Each Case Given Below: (I) Math.Sqrt (36 – 45) (Ii) Int A;B;C;
- Write a Function Prototype of the Following: a Function Poschar Which Takes a String Argument and a Character Argument and Returns an Integer Value.
- Give the output of the following expression:a+= a++ + ++a + -- a + a--; when a = 7;
- Using the Switch Statement, Write a Menu-driven Program for the Following: (I) to Print Floyd’S Triangle Given Below
- Which of the Following Are Valid Comments ?
- Give Two Differences Between the Switch Statement and the If-else Statement.
- A mechanism where one class acquires the properties of another class:
- Consider the given program and answer the questions given below: class temp { int a; temp() { a=10 } temp(int z) a=z; } void print() { System.out.println(a); } void main() { temp t =
