Trending ▼  

ICSE Prelims 2018: Computer Applications (PREDICTIVE!!, LENGTHY, DIFFICULT, CONCEPTUAL)

8 pages, 70 questions, 67 questions with responses, 257 total responses
Sdfg Sdfg
 (CLICK here to add Text) 
+Fave Message
 Home > sdfg >   F Also featured on: Group Page icse and 1 more

Formatting page ...

Question 1 a) Compare Local, Instance and Class variables on the basis of the given criteria: a) Identification in a Program, b) Usage of access specifiers with them c) Provision of initial values d) Number of copies for each object of class (Do not include local variables in this comparison) [2] [2] c) What are functions? Give one advantage of using functions. What are the two types of methods? Give 2 concrete differences between them and then include an example of each type of function from the java.lang.Math class. [2] d) Differentiate between: i) classes and objects. Why is an object referred to as an instance of a class? ii) Linear Search and Binary Search [2] e) Identify the keywords: [Attempt 8] i) It resolves name space collisions and the conflict between method parameters and instance variables. It also stores the address of the currently calling object. ii) When this keyword is used with the keyword static, the variable becomes a constant. iii)A method which doesn t have a body is declared with this keyword

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sdfg Sdfg

(82)

Richeek Das

(52)

Sai S Kalyan

(51)

Deblina Bora

(30)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2017 ResPaper. Terms of ServiceContact Us Advertise with us

 

ResPaper - Request for Feedback
sdfg chat