Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you debug the Java code?

Answer Posted / gyana

If you want to debug java code, first you have to know at
what platform you use to write the java codes.

If you are using Textpad for writing java code ,then you
have to first save this file as "filename.java".Where the
file name should be same as the class which contain the
main method .Then go to command promot and type javac
filename.java to compile the programme.then if there is no
error then type java filename.In other way you just press
ctrl+1 to compile and ctrl+2 to debug.

Then if you are working on the netbeen
(Java software) then you have to only press F5 to debug the
project.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we declare a class static?

1139


Can an interface extend another interface?

1047


What is difference between hashset and hashmap?

1108


What are bind parameters?

1035


List primitive java types?

1025


What is the purpose of object oriented programming?

964


Can you sort a string in java?

903


How do you reverse a word in java?

1067


Does constructor return any value?

1021


Difference between arraylist and hashset in java?

1124


Difference between character constant and string constant in java ?

1008


What string is utf8?

989


Should database connections be singleton?

954


How are destructors defined in java?

1024


What are the different types of multitasking?

1098