


Weight in KgĪ surcharge of 5% is charged on the bill. Void calculate ( ) – to calculate the charge as per the weight of the parcel as per the following criteria. Member functions: void accept ( ) – to accept the name of the customer, weight of the parcel from the user (using Scanner class) Int charge – to store the charge of the parcel Int w – to store the weight of the parcel in Kg Member variables: String name – to store the name of the customer The answers in this Section should consist of the Programs in either Blue J environment orĪny program environment with Java as the base.Įach program should be written using Variable descriptions/Mnemonic Codes so that the logicįlow-Charts and Algorithms are not required.Īnshul transport company charges for the parcels of its customers as per the following specifications given below: (j) State the type of errors if any in the following statements:Īttempt any four questions from this Section. (ii) Extract the second character of the string str. (i) Find and display the position of the last space in a string str. (i) Write a java statement for each to perform the following task: (ii) “TRANSPARENT”.compareTo(“TRANSITION”) (h) Give the output of the following java statements: (f) What is the value of m after evaluating the following expression: m – = 9%++n + ++n/2 when int m=10,n=6 (e) Write a statement in Java for √ ( + ) 3 | − | (d) Differentiate between break and System. String a=”Java is programming language \n developed by \t\’James Gosling\'” (b) Differentiate between Binary Search and Linear Search techniques. (a) State the number of bytes and bits occupied by a character array of 10 elements. (e) Differentiate between = and = operators. (d) Write the prototype of a function search which takes two arguments a string and a character and returns an integer value. (c) Rewrite the following loop using for loop: (b) Rewrite the following condition without using logical operators: if ( a>b || a>c ) (a) Differentiate between boxing and unboxing. (d) Mention the types of access specifiers. (b) Explain the purpose of using a ‘new’ keyword in a Java program. This Old Question Paper also known as ICSE Specimen Paper 2020 Class 10 Computer Applications included all Chapter of ICSE Syllabus Class as the Basis of all Computation, User-defind Methods, Constructors, Library classes, Encapsulation, Arrays, String handling ICSE Class 10 Computer Applications Previous Year Question Paper 2020 from Chapter Class as the Basis of all Computation, User-defind Methods, Constructors, Library classes, Encapsulation, Arrays, String handling
JAVA PROGRAM IN BLUEJ ENVIRONMENT FOR ICSE DOWNLOAD
ICSE Class 10 Computer Applications Previous Year Question Paper 2020 Download in PDF.
