Question: ALL in java. 1.What is keyword static used for? 2.How often can the state of a constant change? 3.What does an objects member function read/write
ALL in java.
1.What is keyword static used for?
2.How often can the state of a constant change?
3.What does an objects member function read/write the state of?
4.How do I read or write the data associated with the class itself?
5.What object model does maven use for code management?
6.What 2 main techniques can be used to build a project in maven?
7.Under what condition must a class be declared abstract?
8.What is the purpose of keyword default?
9.Give an example of a list (or other collection) that exhibits polymorphism?
10.What type of data may be declared and initialized in an interface?
11.Under what condition is it permissible for a subclass to not implement a method from an abstract superclass?
12.What keyword is used to refer to the current object?
13.How many Interfaces can be implemented by a single class?
14.How many interfaces can a subinterface extend?
15.in what two ways can we instantiate a thread?
16.What is the difference between multiprocessing and multithreading?
17.How many Abstract Classes can a subclass extend?
18.What two techniques can be used to change the appearance of a JavaFx UI?
19.What Java package are collections (data structures) located in?
20.What are the benefits to Unit testing code (Junit)?
21.What 3 parameters are used in assertEquals()?
22.In assertEquals(), what is the delta argument used for?
23.Test Classes and methods build up into what larger testing structure?
24.What is the difference between autoboxing and unboxing?
25.If no access specifier is used, what type of default access is applied to a class?
26.What is the purpose of keyword protected?
27.What purpose do annotations serve?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
