First, in java everything begin with class if we don't have a class then we don't have Java so class is very important and inside the class we have method. that how you going to run a program that's called method.
class first1{
}
Note- First1 is a class name. now we have created the class with name. Now I am going to write the program what I have to do.
class first1{
public static void main(String args[] ){
System.out.println("Welcome to Convict!!!");
}
}
here
method header is public static void main(String args[] )
method body is System.out.println("Welcome to Convict!!!");
print line (println) is a command that something we have print on screen.
NOTE- Java is a case sensitive language so we have to be aware with Capital and simple Letters.
full coding
class first1{
public static void main(String args[] ){
System.out.println("Welcome to Convict!!!");
}
}
write this in notepad save this program named first1.java
then open your cmd compile your program
type javac first1.java
then run
running method
type java first1
Friday, August 15, 2014
Saturday, July 5, 2014
How to create the © symbol.
Press the "alt" key and hold it down while typing "0169" on the keyboard to create the © symbol.
Thursday, June 12, 2014
Get drivers from the internet with amazing software
No Worries if you don't have your PC drivers
It's easy to get divers from this software it's detected the appropriate divers and find from the internet where you can download.
Click and download the software if you want to boot you computer.
http://www.drivereasy.com/
It's easy to get divers from this software it's detected the appropriate divers and find from the internet where you can download.
Click and download the software if you want to boot you computer.
http://www.drivereasy.com/
How do I know my connected WiFi password?
Click wireless network connection
2. Click wireless property
3.there click the security tab
4. tick the show character
How to fix my WiFi It's say No Internet access but connected with router?
1. Click wireless network connection.
2. Click property in Wireless Network Connection status
3. Click the internet protocol version 4 (TCP/Ipv4) After that click the property
4. set the perfected DNS sever 8.8.8.8 and set the alternate DNS sever as 8.8.4.4 then
click ok.
https://www.youtube.com/watch?v=JOfr42IPjQ4
2. Click property in Wireless Network Connection status
3. Click the internet protocol version 4 (TCP/Ipv4) After that click the property
4. set the perfected DNS sever 8.8.8.8 and set the alternate DNS sever as 8.8.4.4 then
click ok.
https://www.youtube.com/watch?v=JOfr42IPjQ4
Sunday, June 8, 2014
Create a New Partition on a Windows 7 Hard Disk
1. Open the Disk Management console by typing diskmgmt.msc at an elevated command prompt.
2. In Disk Management’s Graphical view, right-click an unallocated or free area, and then click New Simple Volume. This starts the New Simple Volume Wizard. (Note: If you need to create unallocated space, see the Tip Easily Shrink a Volume on a Windows 7 Disk for information on how to do this.)
3.The Specify Volume Size page specifies the minimum and maximum size for the volume in megabytes and lets you size the volume within these limits. Size the partition in megabytes using the Simple Volume Size field and then click Next
4. On the Assign Drive Letter Or Path page, specify whether you want to assign a drive letter or path and then click Next.
2. In Disk Management’s Graphical view, right-click an unallocated or free area, and then click New Simple Volume. This starts the New Simple Volume Wizard. (Note: If you need to create unallocated space, see the Tip Easily Shrink a Volume on a Windows 7 Disk for information on how to do this.)
3.The Specify Volume Size page specifies the minimum and maximum size for the volume in megabytes and lets you size the volume within these limits. Size the partition in megabytes using the Simple Volume Size field and then click Next
4. On the Assign Drive Letter Or Path page, specify whether you want to assign a drive letter or path and then click Next.
Subscribe to:
Posts
(
Atom
)




