Question
1. Background of Java - 2. platform-independent language; can create both applications & Applets 3. Translator programs - compilers, interpreters - what's the difference? 4.
1. Background of Java -
2. platform-independent language; can create both applications & Applets
3. Translator programs - compilers, interpreters - what's the difference?
4. source code
5. object code
6. Java - compiled to byte code (javac)
7. JVM - interprets byte code at execution time (java)
8. Programming - what is
a. traditional
b. procedural
c. object-oriented (encapsulation, inheritance,
polymorphism)
9. What is a class? object?
10. Naming rules for classes & variables
11. Access modifiers - public, private
12. qualifier - static
13. main() syntax of header line
14. comment styles
15. Variables - primitive data types & how to declare, initialize & assign values
16. Output to screen - using println() and print() methods
17. Arithmetic operators & their precedence
18. Casting - implicit - when is this done?
19. explicit - when is this required?
20. Unicode
21. class methods - static methods
22. return type, arguments
23. how to define/declare; how to call
24. formal vs. actual parameters
25. overloading
26. calling a method in another class
27. class - how to define
28. attributes - fields, instance variables
29. access - generally private, why?
30. methods - behavior, instance methods (non-static)
31. can only be called for an instance of the class
32. access - generally public, why?
33. getter & setter methods - what is their purpose?
34. Object - what is it? how to declare
35. instantiate - allocate memory using the new operator
36. how to access methods of a class
37. constructors: when are they called?
38. what is their name? return type?
39. what is a default constructor?
40. what is the primary purpose of a constructor?
41. overloading constructors
42. Interactive processing -
43. prompts,
44. echoing inputs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started