Answer:
Specialized fr just want point lol
Explanation:
Answer:
d. public myClass( ) {. . .}
Explanation:
A constructor is a special method that is called when an object of a class is created. It is also used to initialize the instance variables of the given class. A class may have one or more constructors provided that these constructors have different signatures. A class that does not have a constructor explicitly defined has a default parameterless constructor.
Having said these about a constructor, a few other things are worth to be noted by a constructor.
i. In Java, a constructor has the same name as the name of its class.
For example, in the given class <em>myClass</em>, the constructor(s) should also have the name <em>myClass</em>.
ii. A constructor does not have a return value. It is therefore wrong to write a constructor like this:
<em>public void myClass(){...}</em>
This makes option a incorrect.
iii. When a constructor with parameters is defined, the default parameterless constructor is overridden. This might break the code if some other parts of the program depend on this constructor. So it is advisable to always explicitly write the default parameterless constructor.
This makes option d a correct option.
Other options b and c may also be correct but there is no additional information in the question to help establish or justify that.
Answer:
A bridge could permit access to the secure wired network from the unsecured wireless network
Explanation:
A bridge is connecting device in networking that connects two different network devices. This device is suitable to connect a secure network with an unsecured network.
Answer:
Option(c) is the correct for the above question.
Explanation:
The full form of SDLC is System Development Life Cycle, Which tells the rules and processor which have to follow by any software developer. It gives the benefits to make the error-free software.
Another option is invalid because--
- Option a tells that the SDLC is a method but it is a formal processor.
- Option b tells that the SDLC is a framework but it is not any framework it is a guideline.
- Option d tells that the collection of theorems that are used to change in software projects but it is only the model, not any theorems.
Answer:
isSelected()
Explanation:
The isSelected() method of a radio button returns true if that button is on and false otherwise. This method is defined in the class javax.swing.AbstractButton. JRadioButton class inherits from AbstractButton and thus has access to this method. An application code can invoke this method on the radio button instance to determine th ecurrent state and alter the control flow accordingly.