How many states there will have a module in modular programing?
Two state / module
One state/ module
Five state/ module
Eight state/ module
___________are the fundamental building block of a Java program.
Object
Method
Class
Functions
The high level language are converted into machine language using__________.
Compiler
CPU
Mouse
Inverter
If an attribute is private, which methods have access to it?
private
Only those defined in the same class.
Only static methods in the same class
Only instance methods in the same class.
Only classes in the same package.
A class can have many methods with the same name, as long as the number of parameters is different. This is known as:
Method Overloading
Method Invocating
Method Overriding
Method Labeling
Which data types are predefined by the language and named by a key word ?
Reference data type
Primitive data type
Non-Primitive data type
None of these
A collection of methods with no implementation is called an
Interface
Overloading
The actions in a Java class are called
procedures
functions
methods
subroutines
What is used to control the flow of program in OOP?
Procedures
Objects
Classes
Derivations
Which statements are not correct about Objects?
An Object is an instance of a class
Objects can access both instance and static data
All classes extend the Object class
Objects do not permit encapsulation