0% found this document useful (0 votes)
156 views2 pages

Document (3) (12)

The document outlines various programming concepts and distinctions, including boxing vs. unboxing, unary vs. binary operators, and differences between if-else and switch statements. It also defines key terms such as class, object, and keywords, while listing rules for function overloading and identifiers. Additionally, it highlights the keywords related to class instances, memory allocation, and control flow in programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views2 pages

Document (3) (12)

The document outlines various programming concepts and distinctions, including boxing vs. unboxing, unary vs. binary operators, and differences between if-else and switch statements. It also defines key terms such as class, object, and keywords, while listing rules for function overloading and identifiers. Additionally, it highlights the keywords related to class instances, memory allocation, and control flow in programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Differentiate

1. Boxing and unboxing


2. Unary and binary operator
3. If else if and switch
4. Cal by value and call by reference
5. Searching and sorting
6. Private member Public Member
7. While and Do while
8. Two Characteristic of constructor
9. Two ways of invoking Functions
10. Two reasons for calling object as instance of the class
11. Difference between constructor and function
12. Formal actual parameter
13. == and eqalsTo()
14. Primitive and non primitive Data type
15. What is the function of catch block in exception handling? Where does it appear
in a program?
16. The access specifier that gives the most accessibility is____________ least
accessibility is_________
17. What will this code print

int arr[] =new int[5]; System.out.println(arr)

i) 0 (ii) value stored in [0] (iii) 0000 (iv) garbage value

Define

1. Class. 2.object. 3.Keyword. 4.Token. 5.Principle of OOPS

6. class is an object factory. 7.Escape sequence.

8.Jump statement (return break, continue) 10.Variable. 11.Identifier

11.Type Casting. 12-Compilers and interpreters. 13.JVM. 14.Java byte Code.


15.Any two features of JAVA. 16 fall thorough. 17. function overloading
18.Copy constructor

Rules of

1. function overloading
2. Identifier
Name the Keywords

1. Instance of a class.

2.Used to invoke a package

3.Allocates a new dynamic memory location

4.resolving the conflict between the instance variable and the method variable

5. fall through occurs in absence of this keyword.

6. Used to convert instance variable to class variable.

7.Is called as multiple-branching statement.

8.Keeps the variable constant throughout the program.

9. Used to terminate a loop.

You might also like