Class-IX St. Paul's School Computer Applicatoo

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Class- IX St.

Paul’s School
Computer Applicatoo

A. Write the proper answer.


1. What are the difference between methods and functions?
2. What are the difference between methods and constructors?
3. What are the difference between parameterized constructors and default
constructors?
4. What is destructor?
5. What are the difference between call by values and call by references?
6. What are the difference between prefix and postfix?
7. What are the difference between private and public access specifires?
8. What are the differences between default and protected access specifiers?
9. What are the differences between break and continue?
10. What is the difference between method overloading and constructor
overloading?
11. What are the differences between void main() and int main()?
12. What are the differences is between built in packages and user defines
packages with example?
13. What is the difference between class and object?
14. What is the difference between print() and println()?
15. What is the difference between break and System.exit(0) ?
16. What is the difference between nextLong() and nextdouble()?
17. What are the difference between “new” and “this” keywords?
18. What is the difference between while() loop and do-while() loop?
19. What is the difference between Math.abs() and Math.cbrt()?
20. What are the difference between instance methods and static methods?
21. What are the difference between local variables and instance variables?
22. What are the difference between if() statements and nested if()
statements ?
23. Write the advantage of ternary operator?
24. What are the difference between final variables and final classes?
25. What are the difference between primitive and non-primitive or composites
or user defines data type?
26. What are the difference between parameters and arguments?
27. What are the difference between methods and constructors?
28. What is jump statement? With example?
29. What is garbage value?
30. What is real constant or real literal?
31. What is escape character? Write with example.
32. What are the difference between single line comments and multiline
comments?
33. What is the difference between Boxing and Un-boxing?
34. What is wrapper class? Write any three wrapper class names?
35. What is the difference between linear search and binary search?
36. What is the difference between bubble sort and selection sort?
37. What are the difference between pure functions and impure functions?
Class- IX St. Paul’s School
Computer Applicatoo

38. What is the difference between String p=”world” and String p[ ]= {“World”}
?
39. What are the difference between variables and constants?
40. What are the difference between null statements and empty statements?
41. What are the differences between OOP and POP or Structure
programming?
42. What is the difference between indexOf() and charAt() write with return type
?
43. What is the difference compareTo() and equealsTo() function write with
return type?
44. What is non-graphic character?
45. What are the diferences between ‘\u0000’ and “\0” ? and What is “null”
character?
46. What are the diferences between “ceil() and “foor()” ?
47. What is method and method overriding?
48. Write the return type and argument name of the abs() functon?
49. What is the diference between 56L and 78.90F?
50. Why java is called platorm independent programming language?
51. What is JRE?
52. What is data type? Write any four data type name and size?
53. What is scope variable write with example?
54. What is compound statement or block statement?
55. Write the characteristcs of an object?
56. What is inheritance and polymorphism?
57. What are coercion or implicit conversion and explicit conversion?
58. What is fall-through statement write with example?
59. What is the diference between switch statement and if-else() statement?
60. What is escape character write with example?

You might also like