Core Java Interview Questions – Set 02
If a variable is declared as private, where may the variable be accessed A private variable may only be accessed within the class in which it is declared. Name the eight primitive Java types. The eight primitive types are byte, char, short, int, long, float, double, and boolean. Name three subclasses of the Component class Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, or TextComponent. How are this and super used … Read more