Examveda
Examveda

Which of the below is true about java class structure?

A. The class name should start with lowercase

B. The class should have thousands of lines of code

C. The class should only contain those attribute and functionality which it should; hence keeping it short

D. The class attributes and methods should be public

Answer: Option C


This Question Belongs to Java Program >> Java Autoboxing

Join The Discussion

Related Questions on Java Autoboxing

What is autoboxing in Java?

A. The automatic conversion of primitive types to their corresponding wrapper classes

B. The process of creating a new box

C. A feature for manually converting wrapper classes to primitive types

D. A feature for boxing objects