Question: Need help to answer these questions Background of Java platform-independent language; can create both applications & Applets Translator programs compilers, interpreters what's the difference? source
Need help to answer these questions
- Background of Java
- platform-independent language; can create both applications & Applets
- Translator programs compilers, interpreters what's the difference?
- source code
- object code
- Java compiled to byte code (javac)
- JVM interprets byte code at execution time (java)
- Programming what is
a. traditional
b. procedural
c. object-oriented (encapsulation, inheritance,
polymorphism)
- What is a class? object?
- Naming rules for classes & variables
- Access modifiers public, private
- qualifier static
- main() syntax of header line
- comment styles
- Variables primitive data types & how to declare, initialize & assign values
- Output to screen using println() and print() methods
- Arithmetic operators & their precedence
- Casting implicit when is this done?
- explicit when is this required?
- Unicode
- class methods static methods
- return type, arguments
- how to define/declare; how to call
- formal vs. actual parameters
- overloading
- calling a method in another class
- class how to define
- attributes fields, instance variables
- access generally private, why?
- methods behavior, instance methods (non-static)
- can only be called for an instance of the class
- access generally public, why?
- getter & setter methods what is their purpose?
- Object what is it? how to declare
- instantiate allocate memory using the new operator
- how to access methods of a class
- constructors: when are they called?
- what is their name? return type?
- what is a default constructor?
- what is the primary purpose of a constructor?
- overloading constructors
- Interactive processing
- prompts,
- echoing inputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
