1 Flashcards
We have two different types of constructors.
Note
A variable_________with a variable name with a object type.
Declaration
The new keyword is used to create the object.
Instantiatiom
The new keyword is followed by a call to a constructor.
Initiazation
The following line would ask the compiler to load all the classes available in directory java_installation/java/io-
Import java.io.*;
What is the basic data types?!
Primitive data type
Byte
Short
Int
Long
Float
Duoble
Boolean
Char
A____is a source code representation of a fixed value.?
Literal
In java are specified like they are in most other language by enclosing a sequence of character between a pair of double quotes.?
String literals
A______provides us with named storage that our programs can manipulate.?
Variable
There are three kinds of variables in java
Local variables
Instance variables
Class/Static variables
Java provides a rich set of operators to manipulate variables.!?
Arithmetic operators
Relational operators
Bitwise operators
Logical operators
Assignment operators
Misc operators
As a language that has the object oriented feature,java supports the following fundamental concepts.!?
Polymorphism
Inheritance
Abstraction
Classes
Objects
Instance
Method
Message passing