Trending ▼   ResFinder  

ICSE Class X Notes 2021 : Computer Applications (Mount Columbus International School, Hapur)

22 pages, 18 questions, 0 questions with responses, 0 total responses,    0    0
Jason Samuel
Loyola Public School, Guntur
+Fave Message
 Home > jaosn >   F Also featured on: School Page

Formatting page ...

Introduction to Java & BlueJ Environment Q. The two types of Java programs/applications are? [2007] Ans: The two types of Java Applications are 'Internet Applets' and 'Stand alone application'. Q. State the distinguishing features of Java and C++? Ans: (i) Java does not support operator overloading. (ii) Java does not use pointers. (iii) There are no header files in Java. (iv) Java does not have template classes as in C++. Q. State the differences between Syntax errors and Logical errors. Ans: The compiler can only translate a program if the program is syntactically correct; otherwise the compilation fails and you will not be able to run your program. Syntax refers to the structure of your program and the rules about that structure. The second type of error is a run-time error, so-called because the error does not appear until you run the program. In Java, run-time errors occur when the interpreter is running the byte code and something goes wrong. Q. "Object is an instance of a class", explain [2010] Ans: Object of a class contains data and functions provided in a class. it possesses all the features of a class. Hence object is termed as instance of a class. Q. Name four basic features of JAVA. Ans: Basic features of Java as follows:i) It is an object oriented language.ii) Java program is both compiled and interpreted..iii) Java program can be application or applet.iv) java is case sensitive language, i.e. it distinguished upper and lower case letters. Q. Differentiate between Compiler and Interpreter. Ans: Compiler convert source code to machine language whole at a time. Interpreter converts program from high level language to machine level language line by line or statement by statement.

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 ...

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

 

jaosn chat