If we have to install service make sure, .interframework install already. Goto folder like:- C:\Windows\Microsoft.NET\Framework\v2.0.50727 C:\Windows\Microsoft.NET\Framework\ v2.0.50727 (Note: version folder can be change as the version change.) Open command prompt by writing the "cmd" in the box of file/folder location shoes Run the command : "installUtil.exe pathofexeofthe service"
The 7 features of OOPs are as follows: 1. Incapsulation 2. Abstraction 3. Inheritance 4. Polymorphism 5. Object must be used 6. Massage passing : One object can interect with another object 7. Dynamic binding The most initial 4 are the basic OOPs features that is required.
package layouts;
ReplyDeleteimport java.awt.BorderLayout;
import javax.swing.JFrame;
public class BorderLay {
public static void main(String[] args) {
JFrame f = new JFrame("Border Layout Example");
f.setBounds(300,200,500,300);
f.setLocationRelativeTo(null);
f.setVisible(true);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container c = f.getContentPane();
}
}