Computer Science, asked by ajeetsingharora0324, 7 months ago

a) Why class is called object factory?

c) Name any two types of Operators with an example.
d) Differentiate between next() and nextLine()​

Answers

Answered by shriyakodesia2005
0

Answer:

a) A class is called an object factory because objects are created from a class. An object is an instance of a class. ... In class-based programming, objects are created from classes by subroutines called constructors, and destroyed by destructors.

b) Relational Operators. ...

Logical Operators. ...

c) Their differences are... next() can read the input only till the space. ... nextLine() reads input including space between the words (that is, it reads till the end of line \n). Once the input is read, nextLine() positions the cursor in the next line.

HOPE THIS HELPS YOU

PLEASE MARK MY ANSWER AS BRAINLIEST ANSWER

THANK YOU ❤️

Answered by prabh3128
0

Answer:

a) a class is called object factory because objects are formed from class.

b) arithmetic operators , that represents multiplication in computer program and the boolean oprators is used to work true)false value

c)next can read input only,till the space,it can't read two words separate by space.and next line read input inculuding space between words.

Similar questions