Computer Science, asked by snehal1525, 3 months ago

Write a Java statement to create an object Eg of class Example​

Answers

Answered by pk2778370
0

Answer:

Java is an object-oriented programming language. ... For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake. A Class is like an object constructor, or a "blueprint" for creating objects.

Explanation:

hope it's helpful to you

Similar questions