Trending ▼   ResFinder  

ICSE 2014 solved : Computer Applications

16 pages, 4 questions, 0 questions with responses, 0 total responses,    0    0
Manasa Preethi
Sikkim manipal university, Bangalore
Master of Science Information Technology
+Fave Message
 Home > manumansi >

Formatting page ...

ICSE 2014 This is the ICSE 14th March 2014 Paper, and will be completed shortly. It is Work In Progress (WIP). Q1. (a) Which of the following are valid comments? (i) (ii) (iii) (iv) */ comment */ /* comment /* // */ comment comment [2 marks] A1. (a) (i) and (iii) are valid comments. The style of (i) is used for multi-line comments as well. The style of (iii) is used for single line comments only. In (ii), the ending */ is missing. In (iv) the start needs to be /* and not */ Q1. (b) What is meant by a package? Name any two Java Application Programming Interface packages. [2 marks] A1. (b) A package is a name given to a collection of classes. It is a mechanism for organizing classes and preventing name conflicts between classes. Java packages are stored as compressed JAR files; this also allows for faster downloading of class files as a group. Examples of Java API packages are: java.lang, java.util, java.io, etc. Q1. (c) Name the primitive data type in Java that is: (i) A 64-bit integer and is used when you need a range of values wider than those provided by int.

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

manumansi chat